summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_tar
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-20 01:31:21 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:36 +0100
commit5e310e0fcaa0f41fd079b9ef8c35daffb92801ef (patch)
tree4f573feba9e638585b7fd1662005473485ff48bf /helpers/lh_binary_tar
parentb7ccfa63cac8e9cbfd3e2cf5173c21f148e2a23e (diff)
downloadvyos-live-build-5e310e0fcaa0f41fd079b9ef8c35daffb92801ef.tar.gz
vyos-live-build-5e310e0fcaa0f41fd079b9ef8c35daffb92801ef.zip
Migrate a few uses of grep to In_list.
Diffstat (limited to 'helpers/lh_binary_tar')
-rwxr-xr-xhelpers/lh_binary_tar2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_binary_tar b/helpers/lh_binary_tar
index 2b3df64e7..8fb5a3ab3 100755
--- a/helpers/lh_binary_tar
+++ b/helpers/lh_binary_tar
@@ -28,7 +28,7 @@ Arguments "${@}"
Read_conffile config/all config/common config/bootstrap config/chroot config/binary config/source
Set_defaults
-if ! echo "${LH_BINARY_IMAGES}" | grep -qs tar
+if ! In_list tar "${LH_BINARY_IMAGES}"
then
exit 0
fi