check for JTE support within the tested xorriso build

This commit is contained in:
George Danchev 2011-06-26 21:36:31 +00:00
parent 219f8ff076
commit 3eb88a0126

View File

@ -76,6 +76,11 @@ RES="${IMG}.iso ${IMG}.new ${IMG}.md5 ${IMG}.jigdo ${IMG}.template"
main() { main() {
# version details, incl. underlying libraries # version details, incl. underlying libraries
"${XOR}" -version "${XOR}" -version
if ! "${XOR}" -version | grep libjte >/dev/null 2>&1; then
printf "\n$0: JTE not supported with this xorriso build. Install jigit and rebuild."
printf "\n$0: See http://www.einval.com/~steve/software/JTE/\n"
exit 51
fi
# remove cruft from previous runs # remove cruft from previous runs
# rm -f ${RES} # rm -f ${RES}