svn commit: r357647 - head/multimedia/xawtv/files
Oliver Lehmann
oliver at FreeBSD.org
Fri Jun 13 05:17:13 UTC 2014
Author: oliver
Date: Fri Jun 13 05:17:12 2014
New Revision: 357647
URL: http://svnweb.freebsd.org/changeset/ports/357647
QAT: https://qat.redports.org/buildarchive/r357647/
Log:
fix script to work with /bin/sh
Added:
head/multimedia/xawtv/files/patch-scripts-subtitles (contents, props changed)
Added: head/multimedia/xawtv/files/patch-scripts-subtitles
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/xawtv/files/patch-scripts-subtitles Fri Jun 13 05:17:12 2014 (r357647)
@@ -0,0 +1,17 @@
+--- scripts/subtitles.orig 2014-06-13 07:05:00.434754238 +0200
++++ scripts/subtitles 2014-06-13 07:06:45.175747077 +0200
+@@ -1,4 +1,4 @@
+-#! /bin/bash
++#! /bin/sh
+ #
+ # display teletext subtitles (PAL) in xawtv
+ # required: alevt-cap, xawtv-remote
+@@ -12,7 +12,7 @@
+ ##########################################################################
+ # helpers
+
+-function usage() {
++usage() {
+ cat <<EOF
+ This script displays teletext subtitles within xawtv.
+ It needs the alevt-cap and xawtv-remote utilities.
More information about the svn-ports-all
mailing list