This is an automated email from Gerrit.

Liviu Ionescu ([email protected]) just uploaded a new patch set to Gerrit, which 
you can find at http://openocd.zylin.com/681

-- gerrit

commit 8dd3dff8af3a30a3db0b0c618019001c03d371e0
Author: Liviu Ionescu <[email protected]>
Date:   Tue May 29 15:24:53 2012 +0300

    tools: initial.sh fixed to accept spaces in current path
    
    When changing the path to the hooks folder, the path needs to be
    surrounded by quotation marks, to avoid failures when the current
    path contains spaces (not only legal, but a common case on
    Mac OS X).
    
    Change-Id: If6fcb648435ec85189756f5c660ed4c015b277ed
    Signed-off-by: Liviu Ionescu <[email protected]>

diff --git a/tools/initial.sh b/tools/initial.sh
index 9caba5a..9580c9a 100755
--- a/tools/initial.sh
+++ b/tools/initial.sh
@@ -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"

-- 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to