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"
|
||||
fi
|
||||
if [ "$RSYNC_INCLUDE_PATTERN" != "" ]; then
|
||||
RsyncPatternsAdd "$RSYNC_INCLUDE_PATTERN" "include"
|
||||
RsyncPatternsAdd "include" "$RSYNC_INCLUDE_PATTERN"
|
||||
fi
|
||||
if [ "$RSYNC_INCLUDE_FROM" != "" ]; then
|
||||
RsyncPatternsFromAdd "include" "$RSYNC_INCLUDE_FROM"
|
||||
|
|
Loading…
Reference in New Issue