Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stefan Strogin
flac
Commits
1be44158
Commit
1be44158
authored
Sep 03, 2005
by
Josh Coalson
Browse files
default to using current script as test file if there is no /bin/sh
parent
461899f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test_metaflac.sh
View file @
1be44158
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment