projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't "cat |" to grep.
[live-boot-grml.git]
/
bin
/
live-snapshot
diff --git
a/bin/live-snapshot
b/bin/live-snapshot
index
85a0ab5
..
0dcfae1
100755
(executable)
--- 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}"