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_tar | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helpers/lh_binary_tar') 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 -- cgit v1.2.3