forked from hummypkg/webif
Remove unnecessary exec
Jim supports the pwd command since at least 6461e8bf6d
, so no need to exec it.
This commit is contained in:
parent
4ae8ea85f7
commit
dac3ea8698
@ -19,7 +19,7 @@ foreach arg $argv {
|
|||||||
lappend dirs $arg
|
lappend dirs $arg
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if {![llength $dirs]} { lappend dirs [exec pwd] }
|
if {![llength $dirs]} { lappend dirs [pwd] }
|
||||||
|
|
||||||
foreach dir $dirs {
|
foreach dir $dirs {
|
||||||
if {[string index $dir end] eq "/"} {
|
if {[string index $dir end] eq "/"} {
|
||||||
|
Loading…
Reference in New Issue
Block a user