Remove unnecessary exec
Jim supports the pwd command since at least 6461e8bf6d
, so no need to exec it.
This commit is contained in:
parent
0e6a67d24a
commit
ad9b48b0d2
|
@ -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 "/"} {
|
||||
|
|
Loading…
Reference in New Issue