]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
Call sh on build-info.sh (#1294)
authorDannyDaemonic <redacted>
Wed, 3 May 2023 00:52:35 +0000 (17:52 -0700)
committerGitHub <redacted>
Wed, 3 May 2023 00:52:35 +0000 (17:52 -0700)
Makefile

index 6ebc3c5b943a3be49eb13a74a104efe9627e9015..94acefdded3208781d072c004506922a7447aaf4 100644 (file)
--- 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 \