commit 0b668a05307cd03a668b33d2126ebc3ff9f74c1d
Author: Elan Ruusamäe <[email protected]>
Date: Thu Jun 4 11:44:34 2015 +0300
allow $BUILDER_OPTS to set globally available commandline options
builder.sh | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/builder.sh b/builder.sh
index 0de793a..52d306a 100755
--- a/builder.sh
+++ b/builder.sh
@@ -2052,6 +2052,11 @@ if [ $# = 0 ]; then
exit 1
fi
+# stuff global $BUILDER_OPTS from env as args
+if [ "$BUILDER_OPTS" ]; then
+ set -- "$BUILDER_OPTS" "$@"
+fi
+
while [ $# -gt 0 ]; do
case "${1}" in
-4|-6)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/0b668a05307cd03a668b33d2126ebc3ff9f74c1d
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit