You've already forked macports-base
mirror of
https://github.com/macports/macports-base.git
synced 2026-07-12 18:18:43 -07:00
registry2.0: Fix variable with Tcl 9
This commit is contained in:
@@ -178,7 +178,7 @@ proc run_target {port target options} {
|
||||
## Create and configure a tdbc connection to the registry
|
||||
proc tdbc_connect {args} {
|
||||
variable tdbc_connection
|
||||
set reg_path [::file join ${macports::registry.path} registry registry.db]
|
||||
set reg_path [::file join ${::macports::registry.path} registry registry.db]
|
||||
set tdbc_connection [tdbc::sqlite3::connection new $reg_path]
|
||||
trace remove variable tdbc_connection read registry::tdbc_connect
|
||||
set stmt [$tdbc_connection prepare {PRAGMA foreign_keys = ON}]
|
||||
|
||||
Reference in New Issue
Block a user