aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-07-13 23:12:07 +0200
committermetamuffin <metamuffin@disroot.org>2025-07-13 23:13:02 +0200
commitcfc3b7bf4cee79ad3c51e1c25fa6ecb57371e34b (patch)
treed5462c9feca13cbe82b351a482b2af2dcb492f82
parent207acb492d898b86b7e72d30cd02c1cf43a37f49 (diff)
downloadhurrycurry-cfc3b7bf4cee79ad3c51e1c25fa6ecb57371e34b.tar
hurrycurry-cfc3b7bf4cee79ad3c51e1c25fa6ecb57371e34b.tar.bz2
hurrycurry-cfc3b7bf4cee79ad3c51e1c25fa6ecb57371e34b.tar.zst
fix cd misuse bug in makefile
-rw-r--r--data/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/makefile b/data/makefile
index 54060110..f405c20e 100644
--- a/data/makefile
+++ b/data/makefile
@@ -34,7 +34,7 @@ recipes/default.yaml: recipes/default.js
DENO_NO_UPDATE_CHECK=1 $(JSR) $< > $@~ && cp $@~ $@
recipes/%.gv.txt: recipes/%.yaml
- { cd .. && cargo $(CARGOFLAGS) run --release --bin graph $(patsubst recipes/%.yaml,%,$<); } > $@~ && cp $@~ $@
+ { pushd .. >/dev/null; cargo $(CARGOFLAGS) run --release --bin graph $(patsubst recipes/%.yaml,%,$<); popd >/dev/null; } > $@~ && cp $@~ $@
recipes/%.svg: recipes/%.gv.txt
dot -Tsvg -Kdot < $< > $@~ && cp $@~ $@