Commit f2798f49 authored by helmo's avatar helmo

Removed a bashism

parent 2dd7c669
......@@ -54,9 +54,8 @@ case "$DRUSH_VERSION" in
;;
[67]*)
alias trim="sed -e 's/^[[:space:]]*//g' -e 's/[[:space:]]*\$//g'"
AEGIR_DOMAIN=`drush @hostmaster status --fields="uri" --field-labels=0 | trim`
OLD_DRUPAL_DIR=`drush @hostmaster status --fields="root" --field-labels=0 | trim`
AEGIR_DOMAIN=`drush @hostmaster status --fields="uri" --field-labels=0 | sed -e 's/^[[:space:]]*//g' -e 's/[[:space:]]*\$//g'`
OLD_DRUPAL_DIR=`drush @hostmaster status --fields="root" --field-labels=0 | sed -e 's/^[[:space:]]*//g' -e 's/[[:space:]]*\$//g'`
esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment