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/683

-- gerrit

commit 6fe05125bcd2afbb61601dbb162beda021feecf7
Author: Liviu Ionescu <[email protected]>
Date:   Tue May 29 19:41:02 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: I8f180ab5f26fab00a7d78ebfe5713d4146c27452
    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