From: Chris Lamb Date: Tue, 30 Sep 2008 23:59:26 +0000 (+0100) Subject: Don't "cat |" to grep. X-Git-Tag: debian/1.139.1-4~5 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=8fbc21f84aa251d6c41dade6714ff0d5cb2722ae;p=live-boot-grml.git Don't "cat |" to grep. Signed-off-by: Chris Lamb --- 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}"