summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-24 21:29:10 +0000
committermidipix <writeonce@midipix.org>2021-04-24 21:29:43 +0000
commit1718cb032cd21e98c9432380979cee8140cc7eaa (patch)
treef28b5420bcd7dd827e738a17d48deeba26be23a5
parent885935c29bd3b997af1f62fc3f500accf0e94846 (diff)
downloadntapi-1718cb032cd21e98c9432380979cee8140cc7eaa.tar.bz2
ntapi-1718cb032cd21e98c9432380979cee8140cc7eaa.tar.xz
build system: allow projects to specify a default nickname.
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index c1e0be5..4712b13 100755
--- a/configure
+++ b/configure
@@ -190,6 +190,10 @@ init_vars()
exit 1
fi
+ if [ -z "${NICKNAME}" ]; then
+ NICKNAME="$mb_nickname"
+ fi
+
# srcinfo
if [ -n "$SOURCE_DIR" ]; then
mb_source_dir_set=yes