]> spindle.queued.net Git - midori/commitdiff
Check for existence of xmlgrep in opensuse mingw fetcher script
authorPaweł Forysiuk <tuxator@o2.pl>
Thu, 24 Nov 2011 00:52:02 +0000 (01:52 +0100)
committerChristian Dywan <christian@twotoasts.de>
Thu, 24 Nov 2011 23:59:49 +0000 (00:59 +0100)
win32/x86-mingw32-opensuse/install.sh

index ae2817d748114a8f05c08ed6fd4ab635c2627b3a..fae616187b068d6e74190d04cf5bf0fa6b365482 100755 (executable)
@@ -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