[packages/php/dev-7.0] dep-tests: handle all input params

glen glen at pld-linux.org
Thu Aug 27 11:46:14 CEST 2015


commit aa642eaae763d89be991af8b6a9c44e32e313e16
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 f28ab54..974732b 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/eef7f29852eb888780e3c5af82dde88f052e1f44



More information about the pld-cvs-commit mailing list