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:44 +0000
commit08ac50624d3f16c039fa1e291ac5a0f1a46fce4a (patch)
tree1d4474c49fb81da9638c8ffd1cb3afbc3669e50e
parent7296a1ad622a2eb39ca410953a7242d625266a68 (diff)
downloadntcon-08ac50624d3f16c039fa1e291ac5a0f1a46fce4a.tar.bz2
ntcon-08ac50624d3f16c039fa1e291ac5a0f1a46fce4a.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