]> git.sur5r.net Git - openocd/blobdiff - tools/initial.sh
tcl/target: ti_tms570.cfg restructure dap support
[openocd] / tools / initial.sh
index c183d014e3daa87ee8292a2ebc24a134746619db..9580c9a9c481efdaf0e90e40bd744bbd81dc26bd 100755 (executable)
@@ -12,7 +12,7 @@ add_remote()
        remote_exist=`grep remote .git/config | grep review     | wc -l`
        if [ "x$remote_exist" = "x0" ] ; then
                git remote add review ssh://$USERNAME@openocd.zylin.com:29418/openocd.git
-               git config remote.review.push HEAD:refs/for/master
+               git config remote.review.push HEAD:refs/publish/master
        else
                echo "Remote review exists"
        fi
@@ -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"