summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Pablo Ugarte <juanpablougarte@gmail.com>2013-09-06 16:23:06 -0300
committerJuan Pablo Ugarte <juanpablougarte@gmail.com>2013-09-11 18:22:18 -0300
commitd69613a1c16072fcd72ae49928852a8cc7cebab1 (patch)
tree2b64659221c6ae5b264e5b92605ce1359e051ab9
parent02235ce80a97ab1d2ccbcf76029003731576a41b (diff)
downloadglade-d69613a1c16072fcd72ae49928852a8cc7cebab1.tar.gz
Added executable check after make install
-rw-r--r--build/mingw-w64/nsis_make_installer.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/mingw-w64/nsis_make_installer.sh b/build/mingw-w64/nsis_make_installer.sh
index 1deba982..61fac735 100644
--- a/build/mingw-w64/nsis_make_installer.sh
+++ b/build/mingw-w64/nsis_make_installer.sh
@@ -109,6 +109,11 @@ fi
fi
+if test ! -e $MINGW_ROOT_BIN/bin/glade.exe; then
+ echo Executable not found! Aborting...
+ exit 1
+fi
+
#copy files to installer directory
cp $ROOT/build/mingw-w64/glade.nsi $ROOT/data/icons/glade.ico $MINGW_ROOT_BIN