source:
app/dist/common/check_dependenties.pl
@
d36b229
Last change on this file since d36b229 was 317d53b, checked in by pawelk <pawelk@…>, 17 years ago | |
---|---|
|
|
File size: 179 bytes |
Rev | Line | |
---|---|---|
[317d53b] | 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.