mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 07:33:46 +01:00
Avoid bash-specific 'let' syntax in shell scripts.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29653 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
eb4187bb17
commit
b70a91d505
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user