]> git.sur5r.net Git - openocd/blobdiff - tools/initial.sh
tools: initial.sh fixed to accept spaces in current path
[openocd] / tools / initial.sh
index 9caba5a4a124619d1b7dbbdfe371c7ff66142aae..9580c9a9c481efdaf0e90e40bd744bbd81dc26bd 100755 (executable)
@@ -20,7 +20,7 @@ add_remote()
 
 update_commit_msg()
 {
-       cd ${TOPDIR}/.git/hooks
+       cd "${TOPDIR}/.git/hooks"
        save_file=commit-msg-`date +%F-%T`
        mv commit-msg $save_file
        printf "%-30s"  "Updating commit-msg"