utt/_old/app/dist/common/check_dependenties.pl
2009-10-17 14:48:21 +02: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;
}
}