[projects/cleanbuild] Fix multiple --with/--without parameters

glen glen at pld-linux.org
Thu Apr 1 13:33:29 CEST 2021


commit 9c5772e4e7b077c22dac8a8af6b6e87f70476369
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Mar 11 00:52:30 2021 +0200

    Fix multiple --with/--without parameters

 bin/cleanbuild-docker.sh | 4 ++--
 1 file 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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/cleanbuild.git/commitdiff/970162d0a0e6f66049427fd3754e1cac7e2e56ad



More information about the pld-cvs-commit mailing list