source:
dist/common/check_dependenties.pl
@
5f4d9c3
| Last change on this file since 5f4d9c3 was 5f4d9c3, checked in by Maciej Prill <mprill@…>, 14 years ago | |
|---|---|
|
|
| File size: 179 bytes | |
| Rev | Line | |
|---|---|---|
| [5f4d9c3] | 1 | |
| 2 | while(<STDIN>) { | |
| 3 | chomp; | |
| 4 | $app = $_; | |
| 5 | $path = `which $app 2>/dev/null`; | |
| 6 | $err = $?; | |
| 7 | print $app.": "; | |
| 8 | if($err != 0) { | |
| 9 | print "failed ($err)\n"; | |
| 10 | } | |
| 11 | else { | |
| 12 | print $path; | |
| 13 | } | |
| 14 | } | |
| 15 |
Note: See TracBrowser
for help on using the repository browser.