Skip to content

Commit 3ae9b84

Browse files
authored
make : fix samples glob pattern (#3100)
1 parent 55d73a1 commit 3ae9b84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ tiny.en tiny base.en base small.en small medium.en medium large-v1 large-v2 larg
4848
@echo "Running $@ on all samples in ./samples ..."
4949
@echo "==============================================="
5050
@echo ""
51-
@for f in samples/*$(.flac .mp3 .ogg .wav); do \
51+
@for f in samples/*.{flac,mp3,ogg,wav}; do \
5252
echo "----------------------------------------------" ; \
5353
echo "[+] Running $@ on $$f ... (run 'ffplay $$f' to listen)" ; \
54-
echo "----------------------------------------------" ; \
54+
echo "----------------------------------------------" ; \
5555
echo "" ; \
5656
./build/bin/whisper-cli -m models/ggml-$@.bin -f $$f ; \
5757
echo "" ; \

0 commit comments

Comments
 (0)