|
|
@ -727,30 +727,30 @@ elif [ "$EE_FIRST" = "site" ]; then |
|
|
|
if [ "${EE_FOURTH%=*}" = "--remote-server" ]; then |
|
|
|
EE_SITE_CREATE_OPTION="" |
|
|
|
EE_SITE_CACHE_OPTION="" |
|
|
|
EE_REMOTE_SERVER=$EE_FOURTH |
|
|
|
EE_REMOTE_USER=$EE_FIFTH |
|
|
|
EE_REMOTE_PASSWORD=$EE_SIXTH |
|
|
|
EE_REMOTE_METHOD=$EE_SEVENTH |
|
|
|
EE_REMOTE_PATH=$EE_EIGHT |
|
|
|
EE_MYSQL_PATH=$EE_NINTH |
|
|
|
EE_REMOTE_SERVER=${EE_FOURTH##*=} |
|
|
|
EE_REMOTE_USER=${EE_FIFTH##*=} |
|
|
|
EE_REMOTE_PASSWORD=${EE_SIXTH##*=} |
|
|
|
EE_REMOTE_METHOD=${EE_SEVENTH##*=} |
|
|
|
EE_REMOTE_PATH=${EE_EIGHT##*=} |
|
|
|
EE_MYSQL_PATH=${EE_NINTH##*=} |
|
|
|
elif [ "${EE_FIFTH%=*}" = "--remote-server" ]; then |
|
|
|
EE_SITE_CREATE_OPTION=$EE_FOURTH |
|
|
|
EE_SITE_CACHE_OPTION="" |
|
|
|
EE_REMOTE_SERVER=$EE_FIFTH |
|
|
|
EE_REMOTE_USER=$EE_SIXTH |
|
|
|
EE_REMOTE_PASSWORD=$EE_SEVENTH |
|
|
|
EE_REMOTE_METHOD=$EE_EIGTH |
|
|
|
EE_REMOTE_PATH=$EE_NINTH |
|
|
|
EE_MYSQL_PATH=$EE_TENTH |
|
|
|
EE_REMOTE_SERVER=${EE_FIFTH##*=} |
|
|
|
EE_REMOTE_USER=${EE_SIXTH##*=} |
|
|
|
EE_REMOTE_METHOD=${EE_EIGTH##*=} |
|
|
|
EE_REMOTE_PASSWORD=${EE_SEVENTH##*=} |
|
|
|
EE_REMOTE_PATH=${EE_NINTH##*=} |
|
|
|
EE_MYSQL_PATH=${EE_TENTH##*=} |
|
|
|
else |
|
|
|
EE_SITE_CREATE_OPTION=$EE_FOURTH |
|
|
|
EE_SITE_CACHE_OPTION=$EE_FIFTH |
|
|
|
EE_REMOTE_SERVER=$EE_SIXTH |
|
|
|
EE_REMOTE_USER=$EE_SEVENTH |
|
|
|
EE_REMOTE_PASSWORD=$EE_EIGTH |
|
|
|
EE_REMOTE_METHOD=$EE_NINTH |
|
|
|
EE_REMOTE_PATH=$EE_TENTH |
|
|
|
EE_MYSQL_PATH=$EE_ELEVENTH |
|
|
|
EE_REMOTE_SERVER=${EE_SIXTH##*=} |
|
|
|
EE_REMOTE_USER=${EE_SEVENTH##*=} |
|
|
|
EE_REMOTE_PASSWORD=${EE_EIGTH##*=} |
|
|
|
EE_REMOTE_METHOD=${EE_NINTH##*=} |
|
|
|
EE_REMOTE_PATH=${EE_TENTH##*=} |
|
|
|
EE_MYSQL_PATH=${EE_ELEVENTH##*=} |
|
|
|
fi |
|
|
|
|
|
|
|
# Auto switch site options |
|
|
|