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:45 +0000
commit6097fd6d84a2f47ee36c181787b3314bdf447710 (patch)
treea94282185960d16c956ba2a16f281e29ee05373c
parent5924e799d5b9cc029f1c2ce353f720a07c594313 (diff)
downloadtpax-6097fd6d84a2f47ee36c181787b3314bdf447710.tar.bz2
tpax-6097fd6d84a2f47ee36c181787b3314bdf447710.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