aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 21:02:56 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 21:02:56 (GMT)
commit6b69804484b128467254823f4c7f5093c5630d2e (patch)
treeab75cd7e612bcde9739e77c0a5f67996597d38b6
parent3070ed36b456939f9cfb414b1e7a6eab5019d9a0 (diff)
check_needs.pl: Fix error message
Instead of a simple "die" with Can't find, provide a more useful way: $ ./check_needs.pl please install "foo", otherwise, build won't work. This program is generally found at "bar" package. need foo at ./check_needs.pl line 20. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rwxr-xr-xcheck_needs.pl1
1 files changed, 0 insertions, 1 deletions
diff --git a/check_needs.pl b/check_needs.pl
index b40d4b6..9eba196 100755
--- a/check_needs.pl
+++ b/check_needs.pl
@@ -5,7 +5,6 @@ sub findprog($)
foreach(split(/:/, $ENV{PATH})) {
return "$_/$_[0]" if(-x "$_/$_[0]");
}
- die "Can't find needed utility '$_[0]'";
}
sub need_program

Privacy Policy