Index: openacs-4/packages/acs-lang/www/admin/message-usage-include.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-lang/www/admin/message-usage-include.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/acs-lang/www/admin/message-usage-include.tcl 10 Jan 2007 21:22:04 -0000 1.5 +++ openacs-4/packages/acs-lang/www/admin/message-usage-include.tcl 27 Oct 2014 16:39:39 -0000 1.6 @@ -18,18 +18,18 @@ multirow create message_usage file code with_catch errmsg { - exec find [acs_root_dir] -type f -regex ".*\\.\\(info\\|adp\\|sql\\|tcl\\)" -follow | xargs egrep "$grepfor" 2>/dev/null + exec find $::acs::rootdir -type f -regex ".*\\.\\(info\\|adp\\|sql\\|tcl\\)" -follow | xargs egrep "$grepfor" 2>/dev/null } { - #error "find [acs_root_dir] -type f -regex \".*\\.\\(info\\|adp\\|sql\\|tcl\\)\" -follow | xargs egrep \"${full_key_pattern}\"" + #error "find $::acs::rootdir -type f -regex \".*\\.\\(info\\|adp\\|sql\\|tcl\\)\" -follow | xargs egrep \"${full_key_pattern}\"" global errorInfo foreach line [split $errmsg "\n"] { if { [string first "child process exited abnormally" $line] == -1 } { set colon [string first ":" $line] multirow append message_usage \ - [string range $line 0 [expr {$colon-1}]] \ - [string trim [string range $line [expr {$colon+1}] end]] + [string range $line 0 $colon-1] \ + [string trim [string range $line $colon+1 end]] } } }