Skip to content

Commit

Permalink
Fix unbound variable error.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpencerC committed Jan 21, 2024
1 parent 8e8fbc8 commit a781b9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion oci/private/push.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ fi

# set $@ to be FIXED_ARGS+$@
ALL_ARGS=(${FIXED_ARGS[@]+"${FIXED_ARGS[@]}"} $@)
set -- ${ALL_ARGS[@]}
if [[ ${#ALL_ARGS[@]} -gt 0 ]]; then
set -- ${ALL_ARGS[@]}
fi

TAGS=()
ARGS=()
Expand Down

0 comments on commit a781b9f

Please sign in to comment.