summaryrefslogtreecommitdiff
path: root/helpers/lh_source_usb-hdd
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_source_usb-hdd
parentb7ccfa63cac8e9cbfd3e2cf5173c21f148e2a23e (diff)
downloadlive-build-5e310e0fcaa0f41fd079b9ef8c35daffb92801ef.zip
live-build-5e310e0fcaa0f41fd079b9ef8c35daffb92801ef.tar.gz
Migrate a few uses of grep to In_list.
Diffstat (limited to 'helpers/lh_source_usb-hdd')
-rwxr-xr-xhelpers/lh_source_usb-hdd2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_source_usb-hdd b/helpers/lh_source_usb-hdd
index 82d1913..8df36dd 100755
--- a/helpers/lh_source_usb-hdd
+++ b/helpers/lh_source_usb-hdd
@@ -33,7 +33,7 @@ then
exit 0
fi
-if ! echo "${LH_SOURCE_IMAGES}" | grep -qs usb-hdd
+if ! In_list usb-hdd "${LH_SOURCE_IMAGES}"
then
exit 0
fi