fix check for needed binaries

This commit is contained in:
Josh Coalson
2002-06-15 05:12:31 +00:00
parent 273e168f97
commit bc15aee35e

View File

@@ -21,7 +21,8 @@ LD_LIBRARY_PATH=../src/libFLAC/.libs:../obj/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
PATH=../src/flac:../src/test_streams:../obj/bin:$PATH
flac --help 1>/dev/null 2>/dev/null || echo "ERROR can't find flac executable" 1>&2 && exit 1
flac --help 1>/dev/null 2>/dev/null || (echo "ERROR can't find flac executable" 1>&2 && exit 1)
if [ $? != 0 ] ; then exit 1 ; fi
echo "Generating streams..."
if test_streams ; then : ; else