From 988db3ba49f0ee7ee6113acf97e83a1ab118cf06 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Thu, 19 Jun 2008 19:49:16 +0100 Subject: 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. --- helpers/lh_source_debian-live | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helpers/lh_source_debian-live') diff --git a/helpers/lh_source_debian-live b/helpers/lh_source_debian-live index c82ca29f2..cd252ced3 100755 --- a/helpers/lh_source_debian-live +++ b/helpers/lh_source_debian-live @@ -60,7 +60,7 @@ cp -a config source/debian-live # Create tarball cd source -if gzip --help | grep -q '\-\-rsyncable' +if gzip --help | grep -qs '\-\-rsyncable' then tar cf debian-live-config_$(date +%Y%m%d.%s).tar debian-live gzip --rsyncable --best debian-live-config_$(date +%Y%m%d.%s).tar -- cgit v1.2.3