diff options
author | Dave Reisner <d@falconindy.com> | 2010-01-12 20:50:47 -0500 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2010-01-12 20:50:47 -0500 |
commit | d2c5fcc206334f928c111c7b61910b82eded1d4d (patch) | |
tree | 2cfa2081ca2ffb0bef059837d2ea6dbb357bf03e /squashfu | |
parent | 5f75b00f35ad38129cb444ac610e821e85ff1569 (diff) | |
download | squashfu-d2c5fcc206334f928c111c7b61910b82eded1d4d.tar.gz |
Remove debugging line and unused code in create_new_incremenetal
Diffstat (limited to 'squashfu')
-rwxr-xr-x | squashfu | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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" |