diff --git a/generateAudioResources.sh b/generateAudioResources.sh
index 920ed529..5b661b18 100755
--- a/generateAudioResources.sh
+++ b/generateAudioResources.sh
@@ -1,7 +1,7 @@
#/bin/sh
printf "[\n"
dircount=0
-find $1 -mindepth 1 -maxdepth 1 -iname "*" | sort | while read d; do
+find "$1" -mindepth 1 -maxdepth 1 -iname "*" | sort | while read d; do
if [ -d "$d" ]
then
dirname=`basename $d`