Fixed shellcheck SC2027 in RsyncPatterns
This commit is contained in:
parent
55534e0669
commit
b4cd0834cd
|
@ -8,7 +8,7 @@
|
||||||
#### OFUNCTIONS FULL SUBSET ####
|
#### OFUNCTIONS FULL SUBSET ####
|
||||||
#### OFUNCTIONS MINI SUBSET ####
|
#### OFUNCTIONS MINI SUBSET ####
|
||||||
_OFUNCTIONS_VERSION=2.3.0-RC1
|
_OFUNCTIONS_VERSION=2.3.0-RC1
|
||||||
_OFUNCTIONS_BUILD=2018100104
|
_OFUNCTIONS_BUILD=2018100105
|
||||||
#### _OFUNCTIONS_BOOTSTRAP SUBSET ####
|
#### _OFUNCTIONS_BOOTSTRAP SUBSET ####
|
||||||
_OFUNCTIONS_BOOTSTRAP=true
|
_OFUNCTIONS_BOOTSTRAP=true
|
||||||
#### _OFUNCTIONS_BOOTSTRAP SUBSET END ####
|
#### _OFUNCTIONS_BOOTSTRAP SUBSET END ####
|
||||||
|
@ -1864,9 +1864,9 @@ function RsyncPatternsAdd {
|
||||||
rest="${rest#*$PATH_SEPARATOR_CHAR}"
|
rest="${rest#*$PATH_SEPARATOR_CHAR}"
|
||||||
fi
|
fi
|
||||||
if [ "$RSYNC_PATTERNS" == "" ]; then
|
if [ "$RSYNC_PATTERNS" == "" ]; then
|
||||||
RSYNC_PATTERNS="--"$patternType"=\"$str\""
|
RSYNC_PATTERNS="--$patternType=\"$str\""
|
||||||
else
|
else
|
||||||
RSYNC_PATTERNS="$RSYNC_PATTERNS --"$patternType"=\"$str\""
|
RSYNC_PATTERNS="$RSYNC_PATTERNS --$patternType=\"$str\""
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
set +f
|
set +f
|
||||||
|
@ -1883,7 +1883,7 @@ function RsyncPatternsFromAdd {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -e "$patternFrom" ]; then
|
if [ -e "$patternFrom" ]; then
|
||||||
RSYNC_PATTERNS="$RSYNC_PATTERNS --"$patternType"-from=\"$patternFrom\""
|
RSYNC_PATTERNS="$RSYNC_PATTERNS --$patternType-from=\"$patternFrom\""
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue