aboutsummaryrefslogtreecommitdiffstats
path: root/squashfu
diff options
context:
space:
mode:
Diffstat (limited to 'squashfu')
-rwxr-xr-xsquashfu2
1 files changed, 1 insertions, 1 deletions
diff --git a/squashfu b/squashfu
index b404fd9..3ec636a 100755
--- a/squashfu
+++ b/squashfu
@@ -83,7 +83,7 @@ create_new_incremental () {
#EXCLUDES=($(sed -n '/^<<EXCLUDES$/,/^EXCLUDES$/p' $CONFIG | \
# grep -vE "^<*EXCLUDES$" | \
# sed -n 's/\(.*\)/--exclude \1/p'))
- EXCLUDES=$(for excl in $EXCLUDES; do echo --exclude $excl; done)
+ EXCLUDES=$(for excl in ${EXCLUDES[@]}; do echo --exclude $excl; done)
exit 1
debug "rsync ${RSYNC_OPTS[@]} ${INCLUDES[@]} ${EXCLUDES[@]} "$UNION_MOUNT""