mirror of
https://codeberg.org/scip/jaildk.git
synced 2025-12-17 20:51:03 +01:00
same with base
This commit is contained in:
9
jaildk
9
jaildk
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user