Skip to content

Commit

Permalink
Fix DESTROY default value
Browse files Browse the repository at this point in the history
  • Loading branch information
f-galland committed Dec 23, 2024
1 parent ea15bbb commit c5adfe7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/builder/builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function parse_args() {
ARCHITECTURE=$OPTARG
;;
D)
DESTROY="true"
DESTROY=$OPTARG
;;
:)
echo "Error: -${OPTARG} requires an argument"
Expand All @@ -72,6 +72,7 @@ function parse_args() {
[ -z "$IS_STAGE" ] && IS_STAGE="false"
[ -z "$DISTRIBUTION" ] && DISTRIBUTION="rpm"
[ -z "$ARCHITECTURE" ] && ARCHITECTURE="x64"
[ -z "$DESTROY" ] && DESTROY=false
}


Expand Down

0 comments on commit c5adfe7

Please sign in to comment.