Skip to content
Permalink
Browse files

grmpf. cleaning out a stale proc here.

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@3908 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Felix Kronlage
Felix Kronlage committed Nov 7, 2003
1 parent daa47fe commit bbc7f7ffed3752be14cbce10121fee53d8785fda
Showing with 2 additions and 11 deletions.
  1. +2 −11 src/port1.0/portutil.tcl
@@ -1077,17 +1077,8 @@ proc dirSize {dir} {
return $size;
}

proc binaryInPath {binary} {
global env
foreach dir [split $env(PATH) :] {
if {[file executable [file join $dir $binary]]} {
return [file join $dir $binary]
}
}

return "";
}

# check for a binary in the path
# returns an error code if it can not be found
proc binaryInPath {binary} {
global env
foreach dir [split $env(PATH) :] {

0 comments on commit bbc7f7f

Please sign in to comment.
You can’t perform that action at this time.