From e883dee5d9eb082d80e691ac89569bef675d726f Mon Sep 17 00:00:00 2001 From: Vasek Sraier Date: Sat, 17 Oct 2020 22:50:43 +0200 Subject: [PATCH] svg image generation: better cwd handling --- frontend/generate_commit_image.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/generate_commit_image.sh b/frontend/generate_commit_image.sh index 37c618c..aed45fe 100755 --- a/frontend/generate_commit_image.sh +++ b/frontend/generate_commit_image.sh @@ -2,6 +2,11 @@ FILENAME=public/build/build_id.svg + +cd $(git rev-parse --show-toplevel) +cd frontend + + cat > $FILENAME <