aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-01-12 20:50:47 -0500
committerDave Reisner <d@falconindy.com>2010-01-12 20:50:47 -0500
commitd2c5fcc206334f928c111c7b61910b82eded1d4d (patch)
tree2cfa2081ca2ffb0bef059837d2ea6dbb357bf03e
parent5f75b00f35ad38129cb444ac610e821e85ff1569 (diff)
downloadsquashfu-d2c5fcc206334f928c111c7b61910b82eded1d4d.tar.gz
Remove debugging line and unused code in create_new_incremenetal
-rwxr-xr-xsquashfu7
1 files changed, 1 insertions, 6 deletions
diff --git a/squashfu b/squashfu
index 9fb0960..866a203 100755
--- a/squashfu
+++ b/squashfu
@@ -78,13 +78,8 @@ create_new_incremental () {
return 1;
fi
- # Includes should be pulled in directly from config and not need doctoring
- #INCLUDES=($(sed -n '/^<<INCLUDES$/,/^INCLUDES$/p' $CONFIG | grep -vE "^<*INCLUDES$"))
- #EXCLUDES=($(sed -n '/^<<EXCLUDES$/,/^EXCLUDES$/p' $CONFIG | \
- # grep -vE "^<*EXCLUDES$" | \
- # sed -n 's/\(.*\)/--exclude \1/p'))
+ # Includes are pulled in directly from config
EXCLUDES=$(for excl in ${EXCLUDES[@]}; do echo --exclude $excl; done)
- exit 1
debug "rsync ${RSYNC_OPTS[@]} ${INCLUDES[@]} ${EXCLUDES[@]} "$UNION_MOUNT""
/usr/bin/rsync ${RSYNC_OPTS[@]} ${INCLUDES[@]} ${EXCLUDES[@]} "$UNION_MOUNT"