소스 검색

Update BlackTools.tcl

Daniel Voipan 5 년 전
부모
커밋
76c3249ca2
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      BlackTools.tcl

+ 3 - 1
BlackTools.tcl

@@ -1774,7 +1774,9 @@ if {[info exists black(backup_update)]} {
 	set black(backdir) $black(dirname)
 }
 
- set black(loader_error) [catch {source $black(backdir)/BlackTools/BT.Loader.tcl} black(loader_error_stats)]
+set black(tclname) [file tail [info script]]
+set black(dirtcl) [file dirname [info script]]
+set black(loader_error) [catch {source $black(backdir)/BlackTools/BT.Loader.tcl} black(loader_error_stats)]
 
 if {$black(loader_error) == "1"} {
 	die "\[BT\] Error. Couldn't load the \"BT Loader\". Reason: \"$black(loader_error_stats)\""