32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
diff -Ndur mjpegtools-2.0.0/scripts/lav2avi.sh mjpegtools-2.0.0-fix-bashisms/scripts/lav2avi.sh
|
|
--- mjpegtools-2.0.0/scripts/lav2avi.sh 2004-08-07 05:51:14.000000000 +0300
|
|
+++ mjpegtools-2.0.0-fix-bashisms/scripts/lav2avi.sh 2014-11-29 22:02:38.363918541 +0200
|
|
@@ -72,7 +72,11 @@
|
|
}
|
|
|
|
if [ $usage -eq 1 ]; then
|
|
- echo -e "USAGE:\t`basename $0` filename.eli"
|
|
- echo -e "\n\tfilename - MJPEG Tools lav editing file\n"
|
|
- echo -e "EXAMPLE:\n\t`basename $0` SecondFilm.eli\n"
|
|
+ echo "USAGE: `basename $0` filename.eli"
|
|
+ echo
|
|
+ echo " filename - MJPEG Tools lav editing file"
|
|
+ echo
|
|
+ echo "EXAMPLE:"
|
|
+ echo " `basename $0` SecondFilm.eli"
|
|
+ echo
|
|
fi
|
|
diff -Ndur mjpegtools-2.0.0/scripts/lav2mpeg mjpegtools-2.0.0-fix-bashisms/scripts/lav2mpeg
|
|
--- mjpegtools-2.0.0/scripts/lav2mpeg 2009-01-23 17:52:25.000000000 +0200
|
|
+++ mjpegtools-2.0.0-fix-bashisms/scripts/lav2mpeg 2014-11-29 22:03:59.200913072 +0200
|
|
@@ -252,7 +252,7 @@
|
|
;;
|
|
esac
|
|
done
|
|
-let MOPTIND=OPTIND-LAVRC_COUNT
|
|
+MOPTIND=$((OPTIND - LAVRC_COUNT))
|
|
shift `expr $MOPTIND - 1`
|
|
|
|
if [ "${QUIETLOG}" != "" ]; then
|
|
|