Check if timidity was compiled with -OO

This commit is contained in:
glixx 2019-07-01 05:50:41 +00:00 committed by GitHub
parent a1ca5cd513
commit 09021e5205
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,12 @@ then
exit 1
fi
timidity -iA -OO &
if [ ! -z "`timidity -help|grep '\-OO'`" ]
then
timidity -iA -OO &
else
timidity -iA -Os &
fi
PID=$!