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
commit6f59f4493ead8eb2dac2d0c12a7db01d284f685d (patch)
tree1e3bfa8c2fb1de7c6059af2a43e66e9994604303 /configure
parentadc82823e68d376fede5700e63d906e9c8b82712 (diff)
downloadperk-6f59f4493ead8eb2dac2d0c12a7db01d284f685d.tar.bz2
perk-6f59f4493ead8eb2dac2d0c12a7db01d284f685d.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