From 3185a6cce06c545048af24bc345d26ed710b842c Mon Sep 17 00:00:00 2001 From: George Danchev Date: Fri, 24 Jun 2011 07:13:30 +0000 Subject: [PATCH] check for XOR availability --- libisoburn/trunk/releng/releng_build_isojigdo | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libisoburn/trunk/releng/releng_build_isojigdo b/libisoburn/trunk/releng/releng_build_isojigdo index 274bd822..08e006a6 100755 --- a/libisoburn/trunk/releng/releng_build_isojigdo +++ b/libisoburn/trunk/releng/releng_build_isojigdo @@ -62,6 +62,11 @@ if [ "${XOR}" == "" -o "${DIR}" == "" -o "${IMG}" == "" ]; then exit 1 fi +if [ ! -x "${XOR}" ]; then + printf "$0: Not found or not an executable: $XOR\n" + exit 1 +fi + # all must be set at this point printf "$0: Config items:" printf "\n\txorriso_cmd=${XOR}\n\tIN_dir=${DIR}\n\tOUT_image=${IMG}.iso"