Browse Source

Improved regrex

bugfixes
gau1991 10 years ago
parent
commit
1182c2fb08
  1. 6
      bin/easyengine

6
bin/easyengine

@ -723,9 +723,8 @@ elif [ "$EE_FIRST" = "site" ]; then
elif [ "$EE_SECOND" = "migrate" ]; then
# Configure variables
EE_DOMAIN_CHECK=$EE_THIRD
EE_SITE_CREATE_OPTION=$EE_FOURTH
if [ "$EE_FOURTH%=*" = "--remote-server" ]; then
if [ "${EE_FOURTH%=*}" = "--remote-server" ]; then
EE_SITE_CREATE_OPTION=""
EE_SITE_CACHE_OPTION=""
EE_REMOTE_SERVER=$EE_FOURTH
@ -734,7 +733,8 @@ elif [ "$EE_FIRST" = "site" ]; then
EE_REMOTE_METHOD=$EE_SEVENTH
EE_REMOTE_PATH=$EE_EIGHT
EE_MYSQL_PATH=$EE_NINTH
elif [ "$EE_FIFTH%=*" = "--remote-server" ]; then
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

Loading…
Cancel
Save