[Subject Prev][Subject Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hts-users:02470] SoxOption bug in demos


I found a bug in HTS-demo_CMU-ARCTIC-SLT/configure.ac line 298.

# sox option
sox -h > sox.option 2>&1
soxversion=`head -1 sox.option | awk '{printf "%d\n",$NF}'`
if test $soxversion -gt 13; then
    SOXOPTION=2
else
    SOXOPTION=w
fi
rm -f sox.option
AC_SUBST(SOXOPTION)


$soxversion always equals to 0, so $SOXOPTION is always 'w'.

I use ubuntu 10.04 & sox 14.3.0
Here is the 1st line of my sox.option:

$ head -1 sox.option
sox: SoX v14.3.0

Similar bugs exist in other demos too.

--
康世胤
Shiyin Kang

Follow-Ups
[hts-users:02472] Re: SoxOption bug in demos, Keiichiro Oura