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:
|
live:
|
||||||
host: ${SERVER}
|
host: ${SERVER}
|
||||||
paths:
|
paths:
|
||||||
drush-script: /home/${MY_SITE/-/_}_live/site/vendor/bin/drush
|
drush-script: /home/${MY_SITE//-/_}_live/site/vendor/bin/drush
|
||||||
root: /home/${MY_SITE/-/_}_live/site/web
|
root: /home/${MY_SITE//-/_}_live/site/web
|
||||||
uri: 'https://${MY_SITE}-live.drutopia.org/'
|
uri: 'https://${MY_SITE}-live.drutopia.org/'
|
||||||
user: ${MY_SITE/-/_}_live
|
user: ${MY_SITE//-/_}_live
|
||||||
test:
|
test:
|
||||||
host: ${SERVER}
|
host: ${SERVER}
|
||||||
paths:
|
paths:
|
||||||
drush-script: /home/${MY_SITE/-/_}_test/site/vendor/bin/drush
|
drush-script: /home/${MY_SITE//-/_}_test/site/vendor/bin/drush
|
||||||
root: /home/${MY_SITE/-/_}_test/site/web
|
root: /home/${MY_SITE//-/_}_test/site/web
|
||||||
uri: 'https://${MY_SITE}-test.drutopia.org/'
|
uri: 'https://${MY_SITE}-test.drutopia.org/'
|
||||||
user: ${MY_SITE/-/_}_test
|
user: ${MY_SITE//-/_}_test
|
||||||
EOF
|
EOF
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue