From: DannyDaemonic Date: Wed, 3 May 2023 00:52:35 +0000 (-0700) Subject: Call sh on build-info.sh (#1294) X-Git-Tag: gguf-v0.4.0~815 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=55bc5f0900d925c539488901c5538b637d68665c;p=pkg%2Fggml%2Fsources%2Fllama.cpp Call sh on build-info.sh (#1294) --- diff --git a/Makefile b/Makefile index 6ebc3c5b..94acefdd 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 \