[MPlayer-cvslog] r27227 - in trunk/TOOLS: divx2svcd mencvcd qepdvcd.sh

diego subversion at mplayerhq.hu
Mon Jul 7 08:30:24 CEST 2008


Author: diego
Date: Mon Jul  7 08:30:24 2008
New Revision: 27227

Log:
Remove unnecessary function keyword from shell script function declarations,
it is a bashism.


Modified:
   trunk/TOOLS/divx2svcd
   trunk/TOOLS/mencvcd
   trunk/TOOLS/qepdvcd.sh

Modified: trunk/TOOLS/divx2svcd
==============================================================================
--- trunk/TOOLS/divx2svcd	(original)
+++ trunk/TOOLS/divx2svcd	Mon Jul  7 08:30:24 2008
@@ -79,7 +79,7 @@ EOF
 ###preparing###
 #help
 
-function usage()
+usage()
 {
 	cat <<EOF
 Usage: `basename $0` input_avi [options]

Modified: trunk/TOOLS/mencvcd
==============================================================================
--- trunk/TOOLS/mencvcd	(original)
+++ trunk/TOOLS/mencvcd	Mon Jul  7 08:30:24 2008
@@ -92,7 +92,7 @@ VCDMODE=2
 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."

Modified: trunk/TOOLS/qepdvcd.sh
==============================================================================
--- trunk/TOOLS/qepdvcd.sh	(original)
+++ trunk/TOOLS/qepdvcd.sh	Mon Jul  7 08:30:24 2008
@@ -43,7 +43,7 @@ RATIOY=3
 
 OPTIONS="INPUTFILENAME TARGET ENCQ ABPS VBPS NORM SPLIT TOLERANCE OUTNAME"
 
-function usage()
+usage()
 {
 echo ""
 echo "usage $MYNAME inputfile [options]"
@@ -65,7 +65,7 @@ echo "http://www.mplayerhq.hu/DOCS/HTML/
 echo ""
 }
 
-function test_needed()
+test_needed()
 {
 
 for i in mencoder; do
@@ -77,7 +77,7 @@ done
 
 }
 
-function test_sugested()
+test_sugested()
 {
 
 for i in vcdimager cdrecord; do



More information about the MPlayer-cvslog mailing list