Skip to content

Commit 168cefa

Browse files
committed
Does this now work on msys2?
1 parent a20a8b9 commit 168cefa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build/ab.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ define newline
7070
endef
7171

7272
define check_for_command
73-
$(shell command -v $1 >/dev/null || (echo "Required command '$1' missing" >/dev/stderr && kill $$PPID))
73+
$(shell command -v $1 >/dev/null || (echo "Required command '$1' missing" >&2 && kill $$PPID))
7474
endef
7575

7676
$(call check_for_command,ninja)
@@ -88,8 +88,8 @@ ignored-variables = MAKE_RESTARTS .VARIABLES MAKECMDGOALS MAKEFLAGS MFLAGS
8888
$(shell mkdir -p $(OBJ))
8989
$(file >$(OBJ)/newvars.txt,$(foreach v,$(filter-out $(ignored-variables),$(.VARIABLES)),$(v)=$($(v))$(newline)))
9090
$(shell touch $(OBJ)/vars.txt)
91-
#$(shell diff -u $(OBJ)/vars.txt $(OBJ)/newvars.txt > /dev/stderr)
92-
$(shell cmp -s $(OBJ)/newvars.txt $(OBJ)/vars.txt || (rm -f $(OBJ)/build.ninja && echo "Environment changed --- regenerating" > /dev/stderr))
91+
#$(shell diff -u $(OBJ)/vars.txt $(OBJ)/newvars.txt >&2)
92+
$(shell cmp -s $(OBJ)/newvars.txt $(OBJ)/vars.txt || (rm -f $(OBJ)/build.ninja && echo "Environment changed --- regenerating" >&2))
9393
$(shell mv $(OBJ)/newvars.txt $(OBJ)/vars.txt)
9494

9595
.PHONY: update-ab

0 commit comments

Comments
 (0)