From 5e310e0fcaa0f41fd079b9ef8c35daffb92801ef Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Fri, 20 Jun 2008 01:31:21 +0100 Subject: Migrate a few uses of grep to In_list. --- helpers/lh_binary_usb-hdd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helpers/lh_binary_usb-hdd') diff --git a/helpers/lh_binary_usb-hdd b/helpers/lh_binary_usb-hdd index 033717aee..4f5e6162f 100755 --- a/helpers/lh_binary_usb-hdd +++ b/helpers/lh_binary_usb-hdd @@ -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 usb-hdd +if ! In_list usb-hdd "${LH_BINARY_IMAGES}" then exit 0 fi -- cgit v1.2.3