Fixed include exclude bug
There was syntax error in command building
This commit is contained in:
parent
69b2283719
commit
d405542632
2
osync.sh
2
osync.sh
|
@ -1452,7 +1452,7 @@ function RsyncPatterns {
|
||||||
RsyncPatternsFromAdd "exclude" "$RSYNC_EXCLUDE_FROM"
|
RsyncPatternsFromAdd "exclude" "$RSYNC_EXCLUDE_FROM"
|
||||||
fi
|
fi
|
||||||
if [ "$RSYNC_INCLUDE_PATTERN" != "" ]; then
|
if [ "$RSYNC_INCLUDE_PATTERN" != "" ]; then
|
||||||
RsyncPatternsAdd "$RSYNC_INCLUDE_PATTERN" "include"
|
RsyncPatternsAdd "include" "$RSYNC_INCLUDE_PATTERN"
|
||||||
fi
|
fi
|
||||||
if [ "$RSYNC_INCLUDE_FROM" != "" ]; then
|
if [ "$RSYNC_INCLUDE_FROM" != "" ]; then
|
||||||
RsyncPatternsFromAdd "include" "$RSYNC_INCLUDE_FROM"
|
RsyncPatternsFromAdd "include" "$RSYNC_INCLUDE_FROM"
|
||||||
|
|
Loading…
Reference in New Issue