svg image generation: better cwd handling

This commit is contained in:
Vašek Šraier 2020-10-17 22:50:43 +02:00
parent dac5ffa6e1
commit e883dee5d9

View file

@ -2,6 +2,11 @@
FILENAME=public/build/build_id.svg FILENAME=public/build/build_id.svg
cd $(git rev-parse --show-toplevel)
cd frontend
cat > $FILENAME <<EOF cat > $FILENAME <<EOF
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg <svg