diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -88,7 +88,7 @@ dist: clean link @mkdir -p build dist @rm -rf build/dist-* @echo - @bash -c 'if [[ -n `git status --porcelain` ]]; then echo "[ERROR] Worktree not clean as it should be (see: git status)"; exit 1; fi' + @sh -c 'if test -n `git status --porcelain`; then echo "[ERROR] Worktree not clean as it should be (see: git status)"; exit 1; fi' # Source bundle. git archive --format=tar "--prefix=dist-src/" HEAD | tar -C build -x @echo @@ -116,7 +116,7 @@ dist: clean link @echo "\n[\033[34mINFO \033[0m] DONE: Artifacts created and placed in 'dist'." @# Dependency Bundle. $(eval PCKROOT := build/dist-rt) - @bash -c 'if [ ".exe" = "$(BINEXT)" ]; then \ + @sh -c 'if test ".exe" = "$(BINEXT)"; then \ rm -rf ./$(PCKROOT); \ mkdir -p ./$(PCKROOT)/bin; \ cp external/$(TOOLCHAIN)/rt/bin/libarchive-13.dll $(PCKROOT)/bin/; \ |