fix param

This commit is contained in:
Trevor Batley 2023-05-11 16:19:24 +10:00
parent 0d8ca693a3
commit c7b4c6acfb

View File

@ -46,8 +46,8 @@ fi
MIRROR="copy" MIRROR="copy"
TARGETORG= TARGETORG=
#if [ $2 ] ; then TARGETORG=$2 ; fi #if [ $2 ] ; then TARGETORG=$2 ; fi
for $param in {$2 $3} ; do for $param in $2 $3 ; do
if [ $PARAM ] ; then if [ $param ] ; then
if [ $param == "copy" || $param == "mirror" ] ; then if [ $param == "copy" || $param == "mirror" ] ; then
$MIRROR=$param $MIRROR=$param
else else