summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Brewer <ben.brewer@codethink.co.uk>2012-10-22 13:57:17 +0000
committerBen Brewer <ben.brewer@codethink.co.uk>2012-10-22 13:57:17 +0000
commit9746f9bc6a04f63acfdab6341fd63cb7606ace7e (patch)
tree205f7ffd4cf600505e5df81da741b48fe00f7f48
parent7c432b265ed7ca5f8304938db73912df8ce35032 (diff)
downloadautogen-baserock/morph.tar.gz
Fixed gzip detection in libopts so it works with inbuilt busybox gzipbaserock/morph
-rw-r--r--pkg/libopts/mklibsrc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/libopts/mklibsrc.sh b/pkg/libopts/mklibsrc.sh
index 8cb43be..69d1f9a 100644
--- a/pkg/libopts/mklibsrc.sh
+++ b/pkg/libopts/mklibsrc.sh
@@ -102,7 +102,7 @@ find $(ls -A) -type f \
| ${CLexe} -I4 --spread=1 --line-sep=" \\" >&3
exec 3>&-
-if gzip --version > /dev/null 2>&1
+if which gzip > /dev/null 2>&1
then
gz='gzip --best'
sfx=tar.gz