SPECS: builder - support --without bcond1,bcond2
glen
glen at pld-linux.org
Sun Oct 9 22:17:07 CEST 2005
Author: glen Date: Sun Oct 9 20:17:07 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- support --without bcond1,bcond2
---- Files affected:
SPECS:
builder (1.335 -> 1.336)
---- Diffs:
================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.335 SPECS/builder:1.336
--- SPECS/builder:1.335 Sat Oct 8 23:11:43 2005
+++ SPECS/builder Sun Oct 9 22:17:01 2005
@@ -1548,7 +1548,14 @@
shift
done;;
"no")
- BCOND="$BCOND $1 $2" ; shift 2 ;;
+ if [[ "$2" = *,* ]]; then
+ for a in $(echo "$2" | tr , ' '); do
+ BCOND="$BCOND $1 $a"
+ done
+ else
+ BCOND="$BCOND $1 $2"
+ fi
+ shift 2 ;;
esac
;;
--target )
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/builder?r1=1.335&r2=1.336&f=u
More information about the pld-cvs-commit
mailing list