Skip to content

Commit

Permalink
actually fix shutdown in makefile lol
Browse files Browse the repository at this point in the history
  • Loading branch information
devyn committed Aug 17, 2023
1 parent afa5e7f commit b69e337
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions stage2/make.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
stage2.lsp: $(wildcard stage2/*.lsp)
# strip comments
sed -E '/^ *(;.*)?$$/d' $^ > stage2.lsp
if [[ "${SHUTDOWN}" == 1 ]]; then \
echo "(call-native shutdown\\$$ 0)" >> stage2.lsp \
fi
[[ "${SHUTDOWN}" == 1 ]] && echo "(call-native shutdown$$ 0)" >> stage2.lsp || true

clean-stage2:
rm -f stage2.lsp
Expand Down

0 comments on commit b69e337

Please sign in to comment.