source:
dist/common/check_dependenties.pl
@
c03f8a5
Last change on this file since c03f8a5 was 5f4d9c3, checked in by Maciej Prill <mprill@…>, 13 years ago | |
---|---|
|
|
File size: 179 bytes |
Line | |
---|---|
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.