Skip to content

Commit b705324

Browse files
authored
Merge pull request #67 from theatlantic/fix-full-static-flags
The cli check for cleanup always matches when --full-static is passed
2 parents 7fe79d0 + da511ac commit b705324

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-ffmpeg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ while (( $# > 0 )); do
179179
if [[ "$1" == "--build" || "$1" =~ 'b' ]]; then
180180
bflag='-b'
181181
fi
182-
if [[ "$1" == "--cleanup" || "$1" =~ 'c' ]]; then
182+
if [[ "$1" == "--cleanup" || "$1" =~ 'c' && ! "$1" =~ '--' ]]; then
183183
cflag='-c'
184184
cleanup
185185
fi

0 commit comments

Comments
 (0)