aboutsummaryrefslogtreecommitdiffstats
path: root/squashfu
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-01-12 20:29:40 -0500
committerDave Reisner <d@falconindy.com>2010-01-12 20:29:40 -0500
commitbed9e9725bba7d1b0853833247d79aa2fc8ad0df (patch)
tree530662ce0cf57ecb51832376bff8758492941c54 /squashfu
parent757e28dde46cb4808d87502276d6cf2e30feb6b6 (diff)
downloadsquashfu-bed9e9725bba7d1b0853833247d79aa2fc8ad0df.tar.gz
Convert incls/excls to arrays....
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""