Replace all dashes if more than one
This commit is contained in:
parent
89822149df
commit
fe7947dfc5
1 changed files with 6 additions and 6 deletions
|
@ -76,17 +76,17 @@ cat << EOF > drush/sites/self.site.yml
|
|||
live:
|
||||
host: ${SERVER}
|
||||
paths:
|
||||
drush-script: /home/${MY_SITE/-/_}_live/site/vendor/bin/drush
|
||||
root: /home/${MY_SITE/-/_}_live/site/web
|
||||
drush-script: /home/${MY_SITE//-/_}_live/site/vendor/bin/drush
|
||||
root: /home/${MY_SITE//-/_}_live/site/web
|
||||
uri: 'https://${MY_SITE}-live.drutopia.org/'
|
||||
user: ${MY_SITE/-/_}_live
|
||||
user: ${MY_SITE//-/_}_live
|
||||
test:
|
||||
host: ${SERVER}
|
||||
paths:
|
||||
drush-script: /home/${MY_SITE/-/_}_test/site/vendor/bin/drush
|
||||
root: /home/${MY_SITE/-/_}_test/site/web
|
||||
drush-script: /home/${MY_SITE//-/_}_test/site/vendor/bin/drush
|
||||
root: /home/${MY_SITE//-/_}_test/site/web
|
||||
uri: 'https://${MY_SITE}-test.drutopia.org/'
|
||||
user: ${MY_SITE/-/_}_test
|
||||
user: ${MY_SITE//-/_}_test
|
||||
EOF
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue