pkgsrc/net/get_iplayer/patches/patch-windows_get_iplayer_setup.cgi
shattered ed9b7afe0f Import get_iplayer-2.90 as net/get_iplayer.
This tool allows you to search, index and record/stream:

    * BBC iPlayer TV
    * BBC iPlayer TV subtitles
    * BBC iPlayer Radio
    * BBC Live TV
    * BBC Live Radio
    * BBC Podcasts
2014-11-11 21:49:01 +00:00

15 lines
395 B
Bash

$NetBSD: patch-windows_get_iplayer_setup.cgi,v 1.1 2014/11/11 21:49:01 shattered Exp $
test(1) uses = for string comparison.
--- windows/get_iplayer_setup.cgi.orig 2012-06-02 16:37:17.000000000 +0000
+++ windows/get_iplayer_setup.cgi
@@ -32,7 +32,7 @@ case "$QUERY_STRING" in
;;
esac
-if [ "$TARGET" == "" ]; then
+if [ "$TARGET" = "" ]; then
cat <<EOF
Content-Type: text/html