diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-06-19 19:49:16 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:35 +0100 |
commit | 988db3ba49f0ee7ee6113acf97e83a1ab118cf06 (patch) | |
tree | fb86411115e38205401fcff954394595c4912ae0 /helpers/lh_chroot_local-includes | |
parent | 5f3168deb73fd1e92bec83eb839b5d7381b6b023 (diff) | |
download | vyos-live-build-988db3ba49f0ee7ee6113acf97e83a1ab118cf06.tar.gz vyos-live-build-988db3ba49f0ee7ee6113acf97e83a1ab118cf06.zip |
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_chroot_local-includes')
-rwxr-xr-x | helpers/lh_chroot_local-includes | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_chroot_local-includes b/helpers/lh_chroot_local-includes index 49d1c801e..697c33b6b 100755 --- a/helpers/lh_chroot_local-includes +++ b/helpers/lh_chroot_local-includes @@ -42,7 +42,7 @@ Check_lockfile .lock # Creating lock file Create_lockfile .lock -if ls -A config/chroot_local-includes/ | grep . > /dev/null 2>&1 +if ls -A config/chroot_local-includes/ | grep -qs . then # Copying includes cd config/chroot_local-includes |