changeset 27195:5eb532ff5793

Remove unnecessary function keyword from shell script function declarations, it is a bashism.
author diego
date Mon, 07 Jul 2008 06:30:24 +0000
parents fd1872d2b2d4
children 37feaaf7b7b4
files TOOLS/divx2svcd TOOLS/mencvcd TOOLS/qepdvcd.sh
diffstat 3 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/TOOLS/divx2svcd	Sun Jul 06 18:04:14 2008 +0000
+++ b/TOOLS/divx2svcd	Mon Jul 07 06:30:24 2008 +0000
@@ -79,7 +79,7 @@
 ###preparing###
 #help
 
-function usage()
+usage()
 {
 	cat <<EOF
 Usage: `basename $0` input_avi [options]
--- a/TOOLS/mencvcd	Sun Jul 06 18:04:14 2008 +0000
+++ b/TOOLS/mencvcd	Mon Jul 07 06:30:24 2008 +0000
@@ -92,7 +92,7 @@
 SVCDMODE=5
 ################################################################################
 
-function usage() {
+usage() {
    echo "Usage: $HOWCALLED <basename> [$HOWCALLED options] [mplayer options]"
    echo
    echo "   <basename> is used as basename of the resulting mpg/bin files."
--- a/TOOLS/qepdvcd.sh	Sun Jul 06 18:04:14 2008 +0000
+++ b/TOOLS/qepdvcd.sh	Mon Jul 07 06:30:24 2008 +0000
@@ -43,7 +43,7 @@
 
 OPTIONS="INPUTFILENAME TARGET ENCQ ABPS VBPS NORM SPLIT TOLERANCE OUTNAME"
 
-function usage()
+usage()
 {
 echo ""
 echo "usage $MYNAME inputfile [options]"
@@ -65,7 +65,7 @@
 echo ""
 }
 
-function test_needed()
+test_needed()
 {
 
 for i in mencoder; do
@@ -77,7 +77,7 @@
 
 }
 
-function test_sugested()
+test_sugested()
 {
 
 for i in vcdimager cdrecord; do