fix optional param code
This commit is contained in:
parent
4a855c986b
commit
2466258187
@ -48,7 +48,7 @@ fi
|
|||||||
|
|
||||||
MIRROR="copy"
|
MIRROR="copy"
|
||||||
TARGETORG=
|
TARGETORG=
|
||||||
for $param in $2 $3 $4; do
|
for param in $2 $3 $4; do
|
||||||
if [ $param ] ; then
|
if [ $param ] ; then
|
||||||
if [[ $param == "copy" || $param == "mirror" ]] ; then
|
if [[ $param == "copy" || $param == "mirror" ]] ; then
|
||||||
MIRROR=$param
|
MIRROR=$param
|
||||||
|
Loading…
Reference in New Issue
Block a user