projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
15014ad
)
Don't "cat |" to grep.
author
Chris Lamb
<lamby@debian.org>
Tue, 30 Sep 2008 23:59:26 +0000
(
00:59
+0100)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 9 Mar 2011 16:48:02 +0000
(17:48 +0100)
bin/live-snapshot
patch
|
blob
|
history
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}"