[glade/glade-3-8] Added executable check to build script



commit e26df66608865fc6b2b5cc04004cfdfd676fbc36
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date:   Fri Sep 6 17:27:44 2013 -0300

    Added executable check to build script

 build/mingw-w64/nsis_make_installer.sh |    5 +++++
 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 1fc8db7..49995d1 100644
--- a/build/mingw-w64/nsis_make_installer.sh
+++ b/build/mingw-w64/nsis_make_installer.sh
@@ -108,6 +108,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-3.ico $MINGW_ROOT_BIN


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]