Commit 9a801551 authored by Frank Bergmann's avatar Frank Bergmann

- added -nocase in 00-bootstrap to avoid issue with Windows

parent add3cba9
Pipeline #41 failed with stages
......@@ -38,7 +38,7 @@ proc acs_package_root_dir { package } {
proc ad_make_relative_path { path } {
set root_length [string length [acs_root_dir]]
if { ![string compare [acs_root_dir] [string range $path 0 [expr { $root_length - 1 }]]] } {
if { ![string compare -nocase [acs_root_dir] [string range $path 0 [expr { $root_length - 1 }]]] } {
return [string range $path [expr { $root_length + 1 }] [string length $path]]
}
error "$path is not under the path root ([acs_root_dir])"
......@@ -298,7 +298,7 @@ proc ad_proc args {
set root_dir [nsv_get acs_properties root_directory]
set script [info script]
set root_length [string length $root_dir]
if { ![string compare $root_dir [string range $script 0 [expr { $root_length - 1 }]]] } {
if { ![string compare -nocase $root_dir [string range $script 0 [expr { $root_length - 1 }]]] } {
set script [string range $script [expr { $root_length + 1 }] end]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment