mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
add quote on variable in correct code, or we'll have SC2154 error
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
for f in *.wav
|
for f in *.wav
|
||||||
do
|
do
|
||||||
[[ -e $f ]] || break # handle the case of no *.wav files
|
[[ -e "$f" ]] || break # handle the case of no *.wav files
|
||||||
echo "$f"
|
echo "$f"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user