From 2d14358c232754ae776dcfb5aa36068ca1a897fd Mon Sep 17 00:00:00 2001 From: Sven Reichel Date: Sat, 21 Sep 2024 06:55:58 +0200 Subject: [PATCH] Changed path --- .ddev/commands/web/localdev | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.ddev/commands/web/localdev b/.ddev/commands/web/localdev index ba67d8ce1da..6d67d3ac980 100755 --- a/.ddev/commands/web/localdev +++ b/.ddev/commands/web/localdev @@ -4,16 +4,16 @@ ## Usage: localdev ## Example: ddev localdev -if [ ! -d "localdev/" ] +if [ ! -d ".localdev/" ] then - mkdir "localdev/" + mkdir ".localdev/" echo "Directory created." fi -if ! grep -q './localdev/*' composer.json; then - php vendor/bin/composer config repositories.local '{"type": "path", "url": "./localdev/*", "canonical": false}' +if ! grep -q "./.localdev/*" composer.json; then + php vendor/bin/composer config repositories.local '{"type": "path", "url": "./.localdev/*", "canonical": false}' echo "Patched composer.json." fi -cd "localdev/" +cd ".localdev/" || exit git clone "$@"