From 8fbc21f84aa251d6c41dade6714ff0d5cb2722ae Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Wed, 1 Oct 2008 00:59:26 +0100 Subject: [PATCH] Don't "cat |" to grep. Signed-off-by: Chris Lamb --- bin/live-snapshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/live-snapshot b/bin/live-snapshot index 85a0ab5..0dcfae1 100755 --- a/bin/live-snapshot +++ b/bin/live-snapshot @@ -397,7 +397,7 @@ Do_snapshot () if [ -e "${EXCLUDE_LIST}" ] then # Add explicitly excluded files - cat "${EXCLUDE_LIST}" | grep -v '^#.*$' | grep -v '^ *$' >> "${TMP_FILELIST}" + grep -v '^#.*$' "${EXCLUDE_LIST}" | grep -v '^ *$' >> "${TMP_FILELIST}" fi cd "${OLDPWD}" -- 2.1.4