Commit 007761fe authored by diego's avatar diego

Use BSD-compatible expr syntax and change test -ne to test != for portability.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5060 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e491acad
...@@ -26,7 +26,7 @@ sleep 2 ...@@ -26,7 +26,7 @@ sleep 2
rm -f ff-*; rm -f ff-*;
WGET_OPTIONS="--user-agent=NSPlayer -q --proxy=off -e verbose=off -e server_response=off" WGET_OPTIONS="--user-agent=NSPlayer -q --proxy=off -e verbose=off -e server_response=off"
for file in $FILES; do for file in $FILES; do
if [ `expr match $file "a-*"` -ne 0 ]; then if [ `expr $file : "a-*"` != 0 ]; then
wget $WGET_OPTIONS --output-document=- http://localhost:9999/$file > ff-$file & wget $WGET_OPTIONS --output-document=- http://localhost:9999/$file > ff-$file &
else else
wget $WGET_OPTIONS --output-document=- http://localhost:9999/$file?date=19700101T000000Z | dd bs=1 count=100000 > ff-$file 2>/dev/null & wget $WGET_OPTIONS --output-document=- http://localhost:9999/$file?date=19700101T000000Z | dd bs=1 count=100000 > ff-$file 2>/dev/null &
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment