summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-09-07 10:37:16 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-09-07 10:37:16 +0000
commitb70a91d505fdcbe4f86d386e373f1e2bd16f69c4 (patch)
tree522e0a5c64568b75852453764c2d251ba3c417de /TOOLS
parenteb4187bb17ddd943e1727f76b61e6fdd45f80610 (diff)
downloadmpv-b70a91d505fdcbe4f86d386e373f1e2bd16f69c4.tar.bz2
mpv-b70a91d505fdcbe4f86d386e373f1e2bd16f69c4.tar.xz
Avoid bash-specific 'let' syntax in shell scripts.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29653 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TOOLS')
-rwxr-xr-xTOOLS/mplmult.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/TOOLS/mplmult.sh b/TOOLS/mplmult.sh
index e0d262f23e..8621c010c0 100755
--- a/TOOLS/mplmult.sh
+++ b/TOOLS/mplmult.sh
@@ -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