arm_adi_v5: prevent possibly endless recursion in dap_dp_init()
[fw/openocd] / tools / initial.sh
index c183d014e3daa87ee8292a2ebc24a134746619db..446b98bdaf6945f0bbd2eff32338684312a6d984 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"