harshadyeola
10 years ago
2 changed files with 8 additions and 2 deletions
@ -0,0 +1,7 @@ |
|||
#CD to Webroot |
|||
|
|||
function ee_site_cd() |
|||
{ |
|||
cd $(grep root /etc/nginx/sites-available/$EE_DOMAIN | awk '{ print $2 }' | sed 's/;//g') \ |
|||
|| ee_lib_error "Unable to change directory for $EE_DOMAIN, exit status = " $? |
|||
} |
Loading…
Reference in new issue