summaryrefslogtreecommitdiff
path: root/configure
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
commitb12b872915e09c8355589c799999992751ece885 (patch)
treeaa884cb3bdddb35d63a280fd79a8e4ab73200f63 /configure
parent7e4540ce56f96a3f070f4f553c2a18e237909e00 (diff)
downloadbfirm-b12b872915e09c8355589c799999992751ece885.tar.bz2
bfirm-b12b872915e09c8355589c799999992751ece885.tar.xz
build system: allow projects to specify a default nickname.
Diffstat (limited to 'configure')
-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