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