Description: Show output of xhydra build
Author: Julián Moreno Patiño <darkjunix@gmail.com>
Origin: vendor
Forwarded: no
Last-Update: 2011-11-12
--- a/hydra-gtk/make_xhydra.sh
+++ b/hydra-gtk/make_xhydra.sh
@@ -2,17 +2,14 @@
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome/lib/pkgconfig
export PKG_CONFIG_PATH
echo "Trying to compile xhydra now (hydra gtk gui) - dont worry if this fails, this is really optional ..."
-./configure > /dev/null 2> errors
+./configure
test -e Makefile || {
echo "Error: configure wasnt happy. Analyse this:"
- cat errors
exit 1
}
-make > /dev/null 2> errors
+make
test -e src/xhydra || {
echo "Error: could not compile. Analyse this:"
- cat errors
- echo
echo 'Do not worry, as I said, xhydra is really optional. ./hydra is ready to go!'
exit 0
}