commit e2f77c160041c2b2757bdb6988c0dcf8e4fbff72
Author: Elan Ruusamäe <[email protected]>
Date: Fri May 8 21:26:38 2015 +0300
if called as php.sh, invoke all php versions
php.sh | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/php.sh b/php.sh
index 6426711..9120e4c 100755
--- a/php.sh
+++ b/php.sh
@@ -4,4 +4,12 @@ program=${program%.sh}
dir=$(dirname "$0")
suffix=${program#php}
+# if called as php.sh, invoke all php versions
+if [ "$suffix" = "" ]; then
+ for php in $dir/php??.sh; do
+ $php "$@"
+ done
+ exit 0
+fi
+
exec $dir/make-request.sh -D "php_suffix $suffix" ${post_command:+-C
"$post_command"} "$@"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/cca6584b96e6c33d0732d559e43e100d804e2ecd
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit