[vlmc-devel] check if lrelease are available or not.

Benoit Tuduri git at videolan.org
Sat Mar 17 19:32:27 CET 2012


vlmc | branch: master | Benoit Tuduri <benoit.tuduri at gmail.com> | Fri Mar 16 13:14:38 2012 +0100| [e8a88ba5c91df212d5dd195053b4630d60b4442f] | committer: Rohit Yadav

check if lrelease are available or not.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=e8a88ba5c91df212d5dd195053b4630d60b4442f
---

 contribs/contribs-mac.sh |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/contribs/contribs-mac.sh b/contribs/contribs-mac.sh
index 725480b..4a32608 100644
--- a/contribs/contribs-mac.sh
+++ b/contribs/contribs-mac.sh
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+set -e
+
 VLC_ARCH=""
 VLC_BUILD_ID="0109"
 if [ `uname -m` != "i386" ]; then
@@ -21,6 +23,11 @@ QT4_URL="http://rohityadav.in/files/contribs/qt4-4.8-win32-bin.tar.bz2"
 
 ROOT_FOLDER=`pwd`
 
+if [ -z `which lrelease` ]; then
+    echo "The process require lrelease built in Qt !!!";
+    exit 1;
+fi
+
 # Get the dependencies in this directory
 mkdir -p src-dl/
 cd src-dl/



More information about the Vlmc-devel mailing list