same with base

This commit is contained in:
Thomas von Dein
2020-12-13 14:58:54 +01:00
parent 906c59aee8
commit ee34a551b5

9
jaildk
View File

@@ -185,12 +185,12 @@ jaildk_build() {
shift shift
shift shift
base='' BASE=''
VERSION='' VERSION=''
while getopts "b:v:" arg; do while getopts "b:v:" arg; do
case $arg in case $arg in
b) base=${OPTARG};; b) BASE=${OPTARG};;
v) VERSION=${OPTARG};; v) VERSION=${OPTARG};;
*) usage_build;; *) usage_build;;
esac esac
@@ -213,6 +213,11 @@ jaildk_build() {
version=$VERSION version=$VERSION
fi fi
if test -n "$BASE"; then
# dito
base=$BASE
fi
if test -n "$buildbase"; then if test -n "$buildbase"; then
base="$buildbase" base="$buildbase"
elif test -z "$base"; then elif test -z "$base"; then