mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-26 23:04:19 +08:00
Fix passing options into repo builder
This commit is contained in:
parent
49a246c2b9
commit
45d6bf5007
13
repo.sh
13
repo.sh
@ -8,18 +8,15 @@ COOK_OPT=""
|
||||
recipes=""
|
||||
for arg in "${@:1}"
|
||||
do
|
||||
if [ "$arg" == "--appstream" ]
|
||||
if [[ "$arg" == "--appstream" ]]
|
||||
then
|
||||
APPSTREAM="1"
|
||||
elif [ "$arg" == "--with-package-deps" ]
|
||||
then
|
||||
COOK_OPT+=" --with-package-deps"
|
||||
elif [ "$arg" == "--nonstop" ]
|
||||
then
|
||||
COOK_OPT+=" --nonstop"
|
||||
elif [ "$arg" == "--offline" ]
|
||||
elif [[ "$arg" == "--offline" ]]
|
||||
then
|
||||
export COOKBOOK_OFFLINE=true
|
||||
elif [[ $arg == "--*" ]]
|
||||
then
|
||||
COOK_OPT+=" ${arg}"
|
||||
else
|
||||
recipes+=" $arg"
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user