#20598: gnat-gcc +gnuada -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: krischik@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: gnat-gcc -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Replying to [comment:1 krischik@…]:
Ok, no problem - I do that - any tcl master who can tell what is the best way to detect if "${bootprefix}/bin/gnat" exists and (optionally) is user executable?
You could use [http://wiki.tcl.tk/10070 file executable]: {{{ if {[file executable ${bootprefix}/bin/gnat]} { ... } }}} -- Ticket URL: <http://trac.macports.org/ticket/20598#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS