Skip to content
Snippets Groups Projects
Commit ff5df441 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Fix repo script

parent 7e8c72d8
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment