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
commit0517bcf3b9b24daa2127c5782756462319157a64 (patch)
treea5999f5d49aa4256cea63148a41457449b4cb0a3 /configure
parent0dbab7416e35154c81804fdf3a8bd364e0a77c18 (diff)
downloadbcparser-0517bcf3b9b24daa2127c5782756462319157a64.tar.bz2
bcparser-0517bcf3b9b24daa2127c5782756462319157a64.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