From 7efc0302161fda7c81c132e9783d8dff1c60ecdb Mon Sep 17 00:00:00 2001 From: Ricardo Barbedo Date: Tue, 28 Nov 2017 21:21:05 +0100 Subject: [PATCH] Rename custom namespace to custom_projutils --- Vivado_init.tcl | 2 +- scripts/alias.tcl | 2 +- scripts/git_wrapper.tcl | 2 +- scripts/write_project_tcl_git.tcl | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Vivado_init.tcl b/Vivado_init.tcl index e68a413..2de7237 100644 --- a/Vivado_init.tcl +++ b/Vivado_init.tcl @@ -1,7 +1,7 @@ set init_dir [file dirname [info script]] source $init_dir/scripts/write_project_tcl_git.tcl -namespace import ::custom::write_project_tcl_git +namespace import ::custom_projutils::write_project_tcl_git source $init_dir/scripts/git_wrapper.tcl namespace import ::git_wrapper::git diff --git a/scripts/alias.tcl b/scripts/alias.tcl index 23f8f8a..077d027 100755 --- a/scripts/alias.tcl +++ b/scripts/alias.tcl @@ -3,7 +3,7 @@ # Interface namespace eval ::alias { namespace export wproj - namespace import ::custom::write_project_tcl_git + namespace import ::custom_projutils::write_project_tcl_git namespace import ::current_project namespace import ::common::get_property } diff --git a/scripts/git_wrapper.tcl b/scripts/git_wrapper.tcl index 8373b8b..dd13cbc 100644 --- a/scripts/git_wrapper.tcl +++ b/scripts/git_wrapper.tcl @@ -11,7 +11,7 @@ namespace eval ::git_wrapper { namespace export git - namespace import ::custom::write_project_tcl_git + namespace import ::custom_projutils::write_project_tcl_git namespace import ::current_project namespace import ::common::get_property diff --git a/scripts/write_project_tcl_git.tcl b/scripts/write_project_tcl_git.tcl index 64d1aff..29e6b82 100644 --- a/scripts/write_project_tcl_git.tcl +++ b/scripts/write_project_tcl_git.tcl @@ -40,11 +40,11 @@ #################################################################################### package require Vivado 1.2014.1 -namespace eval ::custom { +namespace eval ::custom_projutils { namespace export write_project_tcl_git } -namespace eval ::custom { +namespace eval ::custom_projutils { proc write_project_tcl_git {args} { # Summary: # Export Tcl script for re-creating the current project