From ff5df44151eb2501ba708e1a6b54b24aa57d84de Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jackpot51@gmail.com> Date: Sun, 29 Oct 2017 16:20:46 -0600 Subject: [PATCH] Fix repo script --- repo.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/repo.sh b/repo.sh index c6c8d8f53..c738e2348 100755 --- a/repo.sh +++ b/repo.sh @@ -4,18 +4,18 @@ shopt -s nullglob source config.sh -recipes=() +recipes="" for arg in "${@:1}" do if [ "$arg" == "--debug" ] then DEBUG=--debug else - recipes[${#recipes[@]}]="$arg" + recipes+=" $arg" fi done -if [ ${#recipes[@]} = 0 ] +if [ "$recipes" == "" ] then recipes="$(ls -1 recipes)" fi -- GitLab