#38555: RFE: Move "rec_glob" proc from nodejs portfile into base -------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.3 Keywords: | Port: -------------------------+-------------------------------- I was looking through the nodejs portfile and came across this recursive glob function: {{{ proc rec_glob {basedir pattern} { set files [glob -directory $basedir -nocomplain -type f $pattern] foreach dir [glob -directory $basedir -nocomplain -type d *] { eval lappend files [rec_glob $dir $pattern] } return $files } }}} It would be useful to have this proc available in base so I wouldn't have to copy it from the nodejs portfile if I ever want to use it myself. -- Ticket URL: <https://trac.macports.org/ticket/38555> MacPorts <http://www.macports.org/> Ports system for OS X