Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't run 'make' in arbitrary directories on the user's system

That was a little overkill. Reading the INSTALL file is more useful.
  • Loading branch information...
commit 4538a39ef4a197c84e5af32ca6d093c2d636cf18 1 parent 912f8e7
@abrasive abrasive authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 shairport.pl
View
6 shairport.pl
@@ -62,10 +62,8 @@
unless (-x $hairtunes_cli) {
say "Can't find the 'hairtunes' decoder binary, you need to build this before using Shairport.";
- say "Trying to build it for you anyway...";
- system("cd ${FindBin::Bin}; make || gmake");
- die("Nope, didn't work out. Read the INSTALL instructions!") unless -x $hairtunes_cli;
- say "Phew! Worked out okay, by the looks of it.";
+ say "Read the INSTALL instructions!";
+ exit(1);
}
GetOptions("a|apname=s" => \$apname,
Please sign in to comment.
Something went wrong with that request. Please try again.