summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <lamby@debian.org>2008-10-01 00:59:26 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:02 +0100
commit7f572a9f291b75dd000c2b45da64809a62af4648 (patch)
tree0ab432681de346f7e61fa3408ecb726ea6ccd1cd
parent15014add2a366cca6bb0aea0b1d02b010e215dc9 (diff)
downloadlive-boot-7f572a9f291b75dd000c2b45da64809a62af4648.tar.gz
live-boot-7f572a9f291b75dd000c2b45da64809a62af4648.zip
Don't "cat |" to grep.
-rwxr-xr-xbin/live-snapshot2
1 files changed, 1 insertions, 1 deletions
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}"