diff --git a/linker/slashkit/resources/base/scripts/create_project.tcl b/linker/slashkit/resources/base/scripts/create_project.tcl index 85474818..cdf137f3 100644 --- a/linker/slashkit/resources/base/scripts/create_project.tcl +++ b/linker/slashkit/resources/base/scripts/create_project.tcl @@ -97,7 +97,9 @@ puts "BUILD DIR: $cwd" proc safe_source {tcl_path} { puts "INFO: Sourcing $tcl_path ..." - catch {source $tcl_path} result + set result [ source $tcl_path ] + puts "INFO: Finished sourcing $tcl_path" + if {[string is integer -strict $result] && $result != 0} { puts "EXIT: '$tcl_path' returned $result" exit 1