summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2021-03-10 22:52:30 (GMT)
committerElan Ruusamäe2021-03-10 23:10:58 (GMT)
commit9c5772e4e7b077c22dac8a8af6b6e87f70476369 (patch)
tree2305c2a7ec7c47b481f407712474b997aee040e6
parent9ccc3554555a8af21644e6e316308fc89d6c4815 (diff)
downloadcleanbuild-9c5772e4e7b077c22dac8a8af6b6e87f70476369.zip
cleanbuild-9c5772e4e7b077c22dac8a8af6b6e87f70476369.tar.gz
Fix multiple --with/--without parameters
-rwxr-xr-xbin/cleanbuild-docker.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/cleanbuild-docker.sh b/bin/cleanbuild-docker.sh
index eb6e6e7..755b359 100755
--- a/bin/cleanbuild-docker.sh
+++ b/bin/cleanbuild-docker.sh
@@ -172,11 +172,11 @@ parse_options() {
;;
--with)
shift
- WITH="$WITH $1"
+ WITH="$WITH,$1"
;;
--without)
shift
- WITHOUT="$WITHOUT $1"
+ WITHOUT="$WITHOUT,$1"
;;
--)
shift