From d989e0edd1d652f00f121fd68530b4b1dc555be0 Mon Sep 17 00:00:00 2001 From: Drew Short Date: Sun, 26 Aug 2018 12:26:24 -0500 Subject: [PATCH] Fix the broken sed command for replacing registry in yarn.lock --- administration_client/create_config_files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/administration_client/create_config_files.sh b/administration_client/create_config_files.sh index a48f54a..55f1aa2 100755 --- a/administration_client/create_config_files.sh +++ b/administration_client/create_config_files.sh @@ -9,5 +9,5 @@ else echo "registry \"$NPM_CONFIG_REGISTRY\"" >> .npmrc echo "registry \"$NPM_CONFIG_REGISTRY\"" >> .yarnrc echo "Replacing static yarn registry references in yarn.lock..." - find . -name yarn.lock -exec sed -i "s#https://registry.yarnpkg.com#`awk '$1 == "registry" { gsub(/"/,""); print $NF}' /root/.yarnrc`#g" {} \; + find . -name yarn.lock -exec sed -i "s#https://registry.yarnpkg.com#`awk '$1 == "registry" { gsub(/"/,""); print $NF}' .yarnrc`#g" {} \; fi \ No newline at end of file