From a726b1bb31b6df47f1afa75ec4631090d4a4979d Mon Sep 17 00:00:00 2001 From: Felipe Elia Date: Wed, 11 Dec 2024 15:52:41 -0300 Subject: [PATCH] Escape sed call --- bin/setup-cypress-env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/setup-cypress-env.sh b/bin/setup-cypress-env.sh index 4e93e4342..8332cb9b7 100755 --- a/bin/setup-cypress-env.sh +++ b/bin/setup-cypress-env.sh @@ -59,7 +59,7 @@ fi # Fix the debug-bar-elasticpress dependency of ElasticPress ./bin/wp-env-cli tests-wordpress "wp --allow-root plugin install debug-bar-elasticpress" -./bin/wp-env-cli tests-wordpress "sed -i ""s/Requires Plugins: elasticpress/Requires Plugins: $PLUGIN_NAME/"" /var/www/html/wp-content/plugins/debug-bar-elasticpress/debug-bar-elasticpress.php" +./bin/wp-env-cli tests-wordpress "sed -i \"s/Requires Plugins: elasticpress/Requires Plugins: $PLUGIN_NAME/\" /var/www/html/wp-content/plugins/debug-bar-elasticpress/debug-bar-elasticpress.php" ./bin/wp-env-cli tests-wordpress "wp --allow-root plugin activate debug-bar-elasticpress" if [ ! -z $WP_VERSION ]; then