From 8f4c0e82ef7cc9b9bf2df8b7e00b2f899c9c6c32 Mon Sep 17 00:00:00 2001 From: George Danchev Date: Sun, 26 Jun 2011 21:36:31 +0000 Subject: [PATCH] check for JTE support within the tested xorriso build --- releng/releng_build_isojigdo | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/releng/releng_build_isojigdo b/releng/releng_build_isojigdo index 4021f88e..dd33a328 100755 --- a/releng/releng_build_isojigdo +++ b/releng/releng_build_isojigdo @@ -76,6 +76,11 @@ RES="${IMG}.iso ${IMG}.new ${IMG}.md5 ${IMG}.jigdo ${IMG}.template" main() { # version details, incl. underlying libraries "${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 # rm -f ${RES}