From df61f84b8db5abc508a15bb9809ea25d35b01232 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 16 Apr 2021 12:10:36 +0000 Subject: project: config.project: define mb_package. --- project/config/cfgdefs.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'project') diff --git a/project/config/cfgdefs.sh b/project/config/cfgdefs.sh index eb6021a..09b8f62 100644 --- a/project/config/cfgdefs.sh +++ b/project/config/cfgdefs.sh @@ -84,6 +84,14 @@ cfgdefs_detect_python_version() python_ver="$python_major.$python_minor" + if [ "$mb_package" = '@' ]; then + mb_package= + fi + + if [ "$mb_nickname" = '@' ]; then + mb_nickname= + fi + [ -z "$mb_package" ] && mb_package='python'"$python_ver" [ -z "$mb_nickname" ] && mb_nickname="$mb_package" [ -z "$mb_pkgname" ] && mb_pkgname="$mb_package" -- cgit v1.2.3