removed hack

This introduced in this pull request:
https://github.com/albertz/shairport/pull/49

This looks very hacky and it gives warnings for me. Also, I don't really understand why it is needed because `perl -w shairport.pl` works already.
This commit is contained in:
Albert Zeyer
2011-04-26 11:55:13 +02:00
parent c7413f476a
commit d972fcd832
+1 -15
View File
@@ -1,18 +1,4 @@
#!/bin/sh
if test -n "`perl -V | grep "5\.0"`"
then
echo -n "FATAL: You appear to have perl "
for WORD in `perl -v | grep "^This is "`
do
echo $WORD
done | grep "5" | xargs echo -n
echo ", but at least version 5.10.0 is required."
exit 1
fi
exec perl -wx $0 "$@"
if 0;
#!perl -w
#line 16
#!/usr/bin/env perl
# ShairPort - Airtunes compatible server
# Copyright (c) 2011 James Laird