changeset 29611:998475fffe0c

Avoid bash-specific 'let' syntax in shell scripts.
author diego
date Mon, 07 Sep 2009 10:37:16 +0000
parents c35359578f8d
children 01b933e5d04c
files TOOLS/mplmult.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/TOOLS/mplmult.sh	Sun Sep 06 00:07:35 2009 +0000
+++ b/TOOLS/mplmult.sh	Mon Sep 07 10:37:16 2009 +0000
@@ -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 @@
 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