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
commit9fb4f34906f2e6af9c706dafc74f1fe362f02bdb (patch)
tree12fdec04f3cd1d5f3a5b401a61312004dc9f9f84
parentb143c7d05fc7ecf6f8fdd95ddcbbbf452b750597 (diff)
downloadntux-9fb4f34906f2e6af9c706dafc74f1fe362f02bdb.tar.bz2
ntux-9fb4f34906f2e6af9c706dafc74f1fe362f02bdb.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