[MPlayer-cvslog] r29653 - trunk/TOOLS/mplmult.sh
diego
subversion at mplayerhq.hu
Mon Sep 7 12:37:16 CEST 2009
Author: diego
Date: Mon Sep 7 12:37:16 2009
New Revision: 29653
Log:
Avoid bash-specific 'let' syntax in shell scripts.
Modified:
trunk/TOOLS/mplmult.sh
Modified: trunk/TOOLS/mplmult.sh
==============================================================================
--- trunk/TOOLS/mplmult.sh Sun Sep 6 02:07:35 2009 (r29652)
+++ trunk/TOOLS/mplmult.sh Mon Sep 7 12:37:16 2009 (r29653)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# example how to output video on multiple windows in sync.
# might be even more useful in combination with vo ggi
# to distribute the video arbitrarily
@@ -29,7 +29,7 @@ i=1
fifo_list=""
while test $i -le $count; do
fifo_list="$dir/mp$i $fifo_list"
- let i=$i+1
+ i=$(($i+1))
done
mkfifo $fifo_list
More information about the MPlayer-cvslog
mailing list