utt/app/dist/common/check_dependenties.pl
pawelk 317d53bd6b Dodalem skrypty, zwiazane z obsluga zaleznosci w tarballu.
git-svn-id: svn://atos.wmid.amu.edu.pl/utt@22 e293616e-ec6a-49c2-aa92-f4a8b91c5d16
2008-04-02 10:55:48 +00:00

16 lines
179 B
Raku

while(<STDIN>) {
chomp;
$app = $_;
$path = `which $app 2>/dev/null`;
$err = $?;
print $app.": ";
if($err != 0) {
print "failed ($err)\n";
}
else {
print $path;
}
}