[packages/rpm-build-tools/merge-pld-builder-client: 131/2675] - allow --with/--without to take args by comma

glen glen at pld-linux.org
Mon Dec 19 21:59:55 CET 2016


commit 5bf7ab4288c796322e7f6d4116e1e18a31d58477
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Mar 14 07:39:13 2011 +0000

    - allow --with/--without to take args by comma
    
    Changed files:
        client/make-request.sh -> 1.91

 make-request.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/make-request.sh b/make-request.sh
index e044d6b..8ec26b2 100644
--- a/make-request.sh
+++ b/make-request.sh
@@ -228,12 +228,12 @@ while [ $# -gt 0 ] ; do
 			;;
 
 		--with)
-			with="$with $2"
+			without="$with $(echo "$2" | tr ',' ' ')"
 			shift
 			;;
 
 		--without)
-			without="$without $2"
+			without="$without $(echo "$2" | tr ',' ' ')"
 			shift
 			;;
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/cca6584b96e6c33d0732d559e43e100d804e2ecd



More information about the pld-cvs-commit mailing list