]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
make : fix samples glob pattern (#3100)
authorGeorgi Gerganov <redacted>
Wed, 30 Apr 2025 11:21:51 +0000 (14:21 +0300)
committerGitHub <redacted>
Wed, 30 Apr 2025 11:21:51 +0000 (14:21 +0300)
Makefile

index 359e701b00683e1a758bbb33fd6ff40d8970ea8c..97a26d48f929ceeb6ae5513ef47d99f522302df1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -48,10 +48,10 @@ tiny.en tiny base.en base small.en small medium.en medium large-v1 large-v2 larg
        @echo "Running $@ on all samples in ./samples ..."
        @echo "==============================================="
        @echo ""
-       @for f in samples/*$(.flac .mp3 .ogg .wav); do \
+       @for f in samples/*.{flac,mp3,ogg,wav}; do \
                echo "----------------------------------------------" ; \
                echo "[+] Running $@ on $$f ... (run 'ffplay $$f' to listen)" ; \
-           echo "----------------------------------------------" ; \
+               echo "----------------------------------------------" ; \
                echo "" ; \
                ./build/bin/whisper-cli -m models/ggml-$@.bin -f $$f ; \
                echo "" ; \