diff --git a/indra/viewer_components/updater/scripts/darwin/update_install b/indra/viewer_components/updater/scripts/darwin/update_install
index bfc12ada1163265f1d60d468999ebafc50226a6e..9df382f119122b852ba139e91aafc5fe37e522ce 100755
--- a/indra/viewer_components/updater/scripts/darwin/update_install
+++ b/indra/viewer_components/updater/scripts/darwin/update_install
@@ -5,6 +5,6 @@
 # to a marker file which should be created if the installer fails.q
 #
 
-cd "$(dirname $0)"
+cd "$(dirname "$0")"
 ../Resources/mac-updater.app/Contents/MacOS/mac-updater -dmg "$1" -name "Second Life Viewer 2" -marker "$2" &
 exit 0