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:42 +0000
commitf6c28566026ff1b64e74142577522ab0583a5c1f (patch)
tree7ee94400bddbd69b9b27be7f8be645bf925d64ef /configure
parent8090a4710c1a92a51cea720a74f74694aaf10ae9 (diff)
downloadapimagic-f6c28566026ff1b64e74142577522ab0583a5c1f.tar.bz2
apimagic-f6c28566026ff1b64e74142577522ab0583a5c1f.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