summaryrefslogtreecommitdiff
path: root/helpers/lh_source_net
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-19 19:49:16 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:35 +0100
commit988db3ba49f0ee7ee6113acf97e83a1ab118cf06 (patch)
treefb86411115e38205401fcff954394595c4912ae0 /helpers/lh_source_net
parent5f3168deb73fd1e92bec83eb839b5d7381b6b023 (diff)
downloadlive-build-988db3ba49f0ee7ee6113acf97e83a1ab118cf06.zip
live-build-988db3ba49f0ee7ee6113acf97e83a1ab118cf06.tar.gz
Consolidate grep text searching predicates to use "grep -qs"
If this is deemed not portable enough in the future, it should be easy enough to find/replace.
Diffstat (limited to 'helpers/lh_source_net')
-rwxr-xr-xhelpers/lh_source_net2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_source_net b/helpers/lh_source_net
index 76c9f94..bd79792 100755
--- a/helpers/lh_source_net
+++ b/helpers/lh_source_net
@@ -59,7 +59,7 @@ then
fi
# Create tarball
-if gzip --help | grep -q '\-\-rsyncable'
+if gzip --help | grep -qs '\-\-rsyncable'
then
tar cf source-net.tar source
gzip --rsyncable --best source-net.tar