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:44 +0000
commitff3ed5bff22b21d9349dbee775f5015a6fba6d63 (patch)
tree94cc4c469702b3a1aa5ebf04388b062b54b403fc
parent071bc74a67505f53c07e7321160b69da9fa1914a (diff)
downloadptycon-ff3ed5bff22b21d9349dbee775f5015a6fba6d63.tar.bz2
ptycon-ff3ed5bff22b21d9349dbee775f5015a6fba6d63.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