From df433df510de870fbe8e8fc103977a08c941a02b Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Mon, 31 May 2021 16:30:06 +0530 Subject: [PATCH] fix --- bin/fix-path | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/fix-path b/bin/fix-path index 06cee503..9a1ad1b6 100755 --- a/bin/fix-path +++ b/bin/fix-path @@ -1,3 +1,5 @@ #!/bin/bash -find ../docs -type f -exec sed -i '' 's/service-worker.js/mermaid-live-editor\/service-worker.js/g' *.js {} \; -find ../docs -type f -exec sed -i '' 's/manifest.json/mermaid-live-editor\/manifest.json/g' *.html {} \; +pushd ../docs +find ./ -type f -exec sed -i 's/service-worker.js/mermaid-live-editor\/service-worker.js/g' {} \; +find ./ -type f -exec sed -i 's/manifest.json/mermaid-live-editor\/manifest.json/g' {} \; +popd \ No newline at end of file