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
parent 0e6a67d24a
commit ad9b48b0d2
1 changed files with 1 additions and 1 deletions

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 "/"} {