commit fa06bc6308eee6da3aecce1d42cb59afcbe5ca3a
parent 21751d50c8e757c40fc47e572df9347589bf1e9f
Author: parazyd <parazyd@dyne.org>
Date: Tue, 16 May 2017 17:25:23 +0200
fix args
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/zlibs/bootstrap b/zlibs/bootstrap
@@ -158,7 +158,10 @@ apt-get update
allpkgs="\$(apt-cache search '.' | cut -d' ' -f1)"
for i in ${extra_packages} ; do
printf "%s" "\$allpkgs" | grep -q "^\$i$" || {
- printf "%s" "\$i" | greq -q "^--.*" || missing="\$missing \$i"
+ case "\$i" in
+ --*) continue ;;
+ *) missing="\$missing \$i" ;;
+ esac
}
done