diff options
author | Andreas Fankhauser hiddenalpha.ch | 2023-09-30 14:01:28 +0200 |
---|---|---|
committer | Andreas Fankhauser hiddenalpha.ch | 2023-09-30 14:01:28 +0200 |
commit | 619471e765226f3c4b762f408fd1623fb5d29b9a (patch) | |
tree | 7e4df2d70f42243f76226d219c900ec20068da13 /Makefile | |
parent | 4a30b44341c12222ed1b97914cfe1c30dd4be2d5 (diff) | |
download | gateleen-resclone-wip-QemuBuildEnv-20230929.zip gateleen-resclone-wip-QemuBuildEnv-20230929.tar.gz |
Cleanupwip-QemuBuildEnv-20230929
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/; \ |