summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndreas Fankhauser hiddenalpha.ch2023-09-30 14:01:28 +0200
committerAndreas Fankhauser hiddenalpha.ch2023-09-30 14:01:28 +0200
commit619471e765226f3c4b762f408fd1623fb5d29b9a (patch)
tree7e4df2d70f42243f76226d219c900ec20068da13 /Makefile
parent4a30b44341c12222ed1b97914cfe1c30dd4be2d5 (diff)
downloadgateleen-resclone-wip-QemuBuildEnv-20230929.zip
gateleen-resclone-wip-QemuBuildEnv-20230929.tar.gz
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e90aef9..114de79 100644
--- a/Makefile
+++ b/Makefile
@@ -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/; \