Browse Source

svg image generation: better cwd handling

mj-deploy
Vašek Šraier 4 years ago
parent
commit
e883dee5d9
  1. 5
      frontend/generate_commit_image.sh

5
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 <<EOF
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg