diff options
author | midipix <writeonce@midipix.org> | 2021-04-16 12:12:11 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-16 12:12:11 +0000 |
commit | 16ac97485aedf416e143f79c63c382f54c914d79 (patch) | |
tree | ef883ec9808106d81ee4eecdcd8159af8207fdc3 /project | |
parent | 0fcb67246a1007c2e315188ae02a54ee9e955758 (diff) | |
download | sbpython3-16ac97485aedf416e143f79c63c382f54c914d79.tar.bz2 sbpython3-16ac97485aedf416e143f79c63c382f54c914d79.tar.xz |
project: config.project: define mb_package.
Diffstat (limited to 'project')
-rw-r--r-- | project/config/cfgdefs.sh | 8 |
1 files changed, 8 insertions, 0 deletions
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" |