projects
/
platform
/
upstream
/
flac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
461899f
)
default to using current script as test file if there is no /bin/sh
author
Josh Coalson
<jcoalson@users.sourceforce.net>
Sat, 3 Sep 2005 02:16:49 +0000
(
02:16
+0000)
committer
Josh Coalson
<jcoalson@users.sourceforce.net>
Sat, 3 Sep 2005 02:16:49 +0000
(
02:16
+0000)
test/test_metaflac.sh
patch
|
blob
|
history
diff --git
a/test/test_metaflac.sh
b/test/test_metaflac.sh
index
744199f
..
0846b01
100755
(executable)
--- a/
test/test_metaflac.sh
+++ b/
test/test_metaflac.sh
@@
-68,8
+68,10
@@
run_metaflac ()
echo "Generating stream..."
if [ -f /bin/sh.exe ] ; then
inputfile=/bin/sh.exe
-el
se
+el
if [ -f /bin/sh ] ; then
inputfile=/bin/sh
+else
+ inputfile="$0"
fi
if run_flac --force --verify -0 --output-name=$flacfile --force-raw-format --endian=big --sign=signed --channels=1 --bps=8 --sample-rate=44100 $inputfile ; then
chmod +w $flacfile