From 55bc5f0900d925c539488901c5538b637d68665c Mon Sep 17 00:00:00 2001 From: DannyDaemonic Date: Tue, 2 May 2023 17:52:35 -0700 Subject: [PATCH] Call sh on build-info.sh (#1294) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6ebc3c5b9..94acefdde 100644 --- a/Makefile +++ b/Makefile @@ -213,7 +213,7 @@ save-load-state: examples/save-load-state/save-load-state.cpp build-info.h ggml. $(CXX) $(CXXFLAGS) $(filter-out %.h,$^) -o $@ $(LDFLAGS) build-info.h: $(wildcard .git/index) scripts/build-info.sh - @scripts/build-info.sh > $@.tmp + @sh scripts/build-info.sh > $@.tmp @if ! cmp -s $@.tmp $@; then \ mv $@.tmp $@; \ else \