From: Chris Lamb Date: Tue, 30 Sep 2008 23:59:26 +0000 (+0100) Subject: Don't "cat |" to grep. X-Git-Tag: debian/2.0.15-1~411 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=7f572a9f291b75dd000c2b45da64809a62af4648;hp=15014add2a366cca6bb0aea0b1d02b010e215dc9;p=live-boot-grml.git Don't "cat |" to grep. --- 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}"