This is an automated email from Gerrit.

"Noah Moroze <noahmor...@gmail.com>" just uploaded a new patch set to Gerrit, 
which you can find at https://review.openocd.org/c/openocd/+/8282

-- gerrit

commit 473660579f77d2072356349b866f7ad21516aeec
Author: Noah Moroze <noahmor...@gmail.com>
Date:   Wed May 15 22:50:58 2024 -0400

    src/helper/startup: fix syntax errors
    
    Change-Id: I8cd44e58040d4627f6b2fc8b88ca8a930cda0ba6
    Signed-off-by: Noah Moroze <noahmor...@gmail.com>

diff --git a/src/helper/startup.tcl b/src/helper/startup.tcl
index 5a0d479f5e..2f609e0d9a 100644
--- a/src/helper/startup.tcl
+++ b/src/helper/startup.tcl
@@ -11,10 +11,10 @@ proc find {filename} {
        if {[catch {ocd_find $filename} t]==0} {
                return $t
        }
-       if {[catch {ocd_find [string map {\ /} $filename} t]==0} {
+       if {[catch {ocd_find [string map {\ /} $filename]} t]==0} {
                return $t
        }
-       if {[catch {ocd_find [string map {/ \\} $filename} t]==0} {
+       if {[catch {ocd_find [string map {/ \\} $filename]} t]==0} {
                return $t
        }
        # make sure error message matches original input string

-- 

Reply via email to