From 3ae9b8416a9208999233ec2ef6933c927a8fb01f Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Wed, 30 Apr 2025 14:21:51 +0300 Subject: [PATCH] make : fix samples glob pattern (#3100) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 359e701b..97a26d48 100644 --- 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 "" ; \