]> git.pld-linux.org Git - packages/php.git/commitdiff
dep-tests: handle all input params
authorElan Ruusamäe <glen@delfi.ee>
Thu, 27 Aug 2015 09:28:54 +0000 (12:28 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 27 Aug 2015 09:28:54 +0000 (12:28 +0300)
dep-tests.sh

index f28ab54a592683196151a83137324a6a51e6b811..974732bdb39312f42f995ba1abd6ead422a568e6 100755 (executable)
@@ -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}
 
This page took 0.071781 seconds and 4 git commands to generate.