diff options
| author | Dave Reisner <d@falconindy.com> | 2010-01-12 20:29:40 -0500 |
|---|---|---|
| committer | Dave Reisner <d@falconindy.com> | 2010-01-12 20:29:40 -0500 |
| commit | bed9e9725bba7d1b0853833247d79aa2fc8ad0df (patch) | |
| tree | 530662ce0cf57ecb51832376bff8758492941c54 /squashfu | |
| parent | 757e28dde46cb4808d87502276d6cf2e30feb6b6 (diff) | |
| download | squashfu-bed9e9725bba7d1b0853833247d79aa2fc8ad0df.tar.gz | |
Convert incls/excls to arrays....
Diffstat (limited to 'squashfu')
| -rwxr-xr-x | squashfu | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"" |
