summaryrefslogtreecommitdiff
path: root/unrpyc/find-gzip.sh
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-03-27 07:48:24 -0400
committerAlex Xu <alex_y_xu@yahoo.ca>2014-03-27 07:48:24 -0400
commit74dfbc6783e19443d736f148ba0d5d0891b8a9b2 (patch)
tree21ebaa24345f04d05c0fcd54e98dbc63324cccd0 /unrpyc/find-gzip.sh
parentf5c42028631722bcca3538cf6e5d078b5492e3e3 (diff)
downloadhtml5ks-74dfbc6783e19443d736f148ba0d5d0891b8a9b2.tar.xz
html5ks-74dfbc6783e19443d736f148ba0d5d0891b8a9b2.zip
Stuff.
Diffstat (limited to 'unrpyc/find-gzip.sh')
-rwxr-xr-xunrpyc/find-gzip.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/unrpyc/find-gzip.sh b/unrpyc/find-gzip.sh
index c9e8e00..c70b75a 100755
--- a/unrpyc/find-gzip.sh
+++ b/unrpyc/find-gzip.sh
@@ -1,7 +1,7 @@
#!/bin/sh
if command -v zopfli; then
:
-elif G=$(command -v gzip); [[ "$G" ]]; then
+elif G=$(command -v gzip); [ -n "$G" ]; then
echo >&2 "Consider obtaining zopfli (https://github.com/Hello71/zopfli) for higher"
echo >&2 "compression ratios (about 5% decrease in size of script.json.gz)."
echo "$G" -9