[packages/php/PHP_5_6] dep-tests: handle all input params
glen
glen at pld-linux.org
Wed Dec 21 20:19:24 CET 2016
commit dab8cd9232303bb4adcc90aa0b56cdb67c06e07e
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Aug 27 12:28:54 2015 +0300
dep-tests: handle all input params
dep-tests.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/dep-tests.sh b/dep-tests.sh
index d5aeabb..d404661 100755
--- a/dep-tests.sh
+++ b/dep-tests.sh
@@ -34,7 +34,7 @@ conf_dir=${CONFIG_DIR:-$(php-config --sysconfdir)/conf.d $(php-config --sysconfd
tmpini=$(mktemp)
# poldek --sn ac-ready -u php-*
-for ext in ${1:-$ext_dir/*.so}; do
+for ext in ${*:-$ext_dir/*.so}; do
[ -f $ext ] || continue
ext=${ext##*/}; ext=${ext%.so}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/788e733cf3f12f8e41360f7aabbd1955a5f6e348
More information about the pld-cvs-commit
mailing list