[SCM] Debian Live initramfs hook branch, master, updated. 1.139.1-3-14-gbb27306

Chris Lamb lamby at debian.org
Wed Oct 1 00:05:27 UTC 2008


The following commit has been merged in the master branch:
commit bb27306e25e45b313b3fb320aa3f798b11a25d05
Author: Chris Lamb <lamby at debian.org>
Date:   Wed Oct 1 00:59:26 2008 +0100

    Don't "cat |" to grep.
    
    Signed-off-by: Chris Lamb <lamby at debian.org>

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}"

-- 
Debian Live initramfs hook



More information about the debian-live-changes mailing list