Remove unnecessary exec

Jim supports the pwd command since at least 6461e8bf6d, so no need to exec it.
This commit is contained in:
df 2020-11-04 14:16:09 +00:00 committed by HummyPkg
parent 4ae8ea85f7
commit dac3ea8698

View File

@ -19,7 +19,7 @@ foreach arg $argv {
lappend dirs $arg
}
}
if {![llength $dirs]} { lappend dirs [exec pwd] }
if {![llength $dirs]} { lappend dirs [pwd] }
foreach dir $dirs {
if {[string index $dir end] eq "/"} {