[gstreamermm: 29/167] generate_methods.sh script should work even if "h2def" is not in path



commit fe8fd44e1b706d4667676158a598bc8487d95796
Author: Tomek Lakota <tomasz lakota flytronic pl>
Date:   Thu Jul 25 02:56:23 2013 +0200

    generate_methods.sh script should work even if "h2def" is not in path

 tools/gen_scripts/generate_methods.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/gen_scripts/generate_methods.sh b/tools/gen_scripts/generate_methods.sh
index 81d7250..4c9cb70 100755
--- a/tools/gen_scripts/generate_methods.sh
+++ b/tools/gen_scripts/generate_methods.sh
@@ -5,7 +5,7 @@
 # tools/gen_script directory and the defs file will be placed in
 # gstreamer/src.
 
-if [ -z "$JHBUILD_SOURCES" -o ! -x "`which h2def.py`" ]; then
+if [ -z "$JHBUILD_SOURCES" -a ! -x "`which h2def.py`" ]; then
   echo -e "JHBUILD_SOURCES must contain the path to the jhbuild sources."
   exit 1;
 fi


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