1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

fix script to work with /bin/sh

This commit is contained in:
Oliver Lehmann 2014-06-13 05:17:12 +00:00
parent 9828435db4
commit b1e452ff3f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357647

View File

@ -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.