From e6d97efa433b408f93880da6a6a9bafd73e007ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Forysiuk?= Date: Thu, 24 Nov 2011 01:52:02 +0100 Subject: [PATCH] Check for existence of xmlgrep in opensuse mingw fetcher script --- win32/x86-mingw32-opensuse/install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/win32/x86-mingw32-opensuse/install.sh b/win32/x86-mingw32-opensuse/install.sh index ae2817d7..fae61618 100755 --- a/win32/x86-mingw32-opensuse/install.sh +++ b/win32/x86-mingw32-opensuse/install.sh @@ -21,6 +21,12 @@ then UPDATE=yes fi +which xmlgrep 2> /dev/null && HAVE_XMLGREP=1 || HAVE_XMLGREP=0 +if [[ "$HAVE_XMLGREP" == "0" ]]; then + echo -e "\nPlease install xmlclitools http://robur.slu.se/jensl/xmlclitools\n" + exit +fi + # create download and build directory mkdir -p $DOWNLOAD_PATH mkdir -p $BUILD_PATH -- 2.39.5