Mercurial > mplayer.hg
comparison TOOLS/aconvert @ 27197:88fc90468b89
Replace bash-specific [[]] construct by a proper [] test.
author | diego |
---|---|
date | Mon, 07 Jul 2008 06:47:01 +0000 |
parents | 37feaaf7b7b4 |
children |
comparison
equal
deleted
inserted
replaced
27196:37feaaf7b7b4 | 27197:88fc90468b89 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 # Author: Jonas Jermann | 3 # Author: Jonas Jermann |
4 # Description: A hack to allow mencoder to encode from an audio only file | 4 # Description: A hack to allow mencoder to encode from an audio only file |
5 | 5 |
6 if [[ $1 = "" ]]; then | 6 if [ "$1" = "" ]; then |
7 echo "Usage: $0 <\"input file\"> <\"output file\"> <\"options\">" | 7 echo "Usage: $0 <\"input file\"> <\"output file\"> <\"options\">" |
8 exit 0 | 8 exit 0 |
9 fi | 9 fi |
10 | 10 |
11 options=${3:-"-oac mp3lame"} | 11 options=${3:-"-oac mp3lame"} |