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
commitd79a4d6e94cb4d999857a25ac84645ccf29c3e2c (patch)
treef254b46d2b296a88534174d4d7a0c55126ffbf94
parente4b4c4976cceab837e4fbcf0bf61bf709b79e20d (diff)
downloadu16ports-d79a4d6e94cb4d999857a25ac84645ccf29c3e2c.tar.bz2
u16ports-d79a4d6e94cb4d999857a25ac84645ccf29c3e2c.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