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:44 +0000
commit54e8ce022f2252d94ba36de28c425e6ffb3019bd (patch)
tree72a6eeb53a4306565af4685a7ec423a16bc75216 /configure
parent8e0aaf53cccf4d4d10bf6f3a608fa9f658f8d8ec (diff)
downloadsbpython2-54e8ce022f2252d94ba36de28c425e6ffb3019bd.tar.bz2
sbpython2-54e8ce022f2252d94ba36de28c425e6ffb3019bd.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