From fe7947dfc5bc6f31445e99c931602ce06467f7eb Mon Sep 17 00:00:00 2001 From: Chris Thompson Date: Tue, 21 Jul 2020 22:41:10 -0400 Subject: [PATCH] Replace all dashes if more than one --- tools/creating-new-drutopia-site.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/creating-new-drutopia-site.md b/tools/creating-new-drutopia-site.md index e2c2385..4c3be3e 100644 --- a/tools/creating-new-drutopia-site.md +++ b/tools/creating-new-drutopia-site.md @@ -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 ```