[Lunar-commits] <moonbase> hugin: a cleaner way to exit

Samuel Verstraete elangelo at lunar-linux.org
Tue Sep 8 10:03:36 CEST 2009


commit e71506266a309cd08371d0204f0bc53923122027
Author: Samuel Verstraete <elangelo at lunar-linux.org>
Date:   Tue Sep 8 10:03:36 2009 +0200

    hugin: a cleaner way to exit
---
 graphics/hugin/BUILD |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/graphics/hugin/BUILD b/graphics/hugin/BUILD
index d635f59..f18f7fc 100644
--- a/graphics/hugin/BUILD
+++ b/graphics/hugin/BUILD
@@ -1,9 +1,9 @@
 (
  if ! in_depends wxGTK mesa-lib ; then
   message "${PROBLEM_COLOR}Error: ${DEFAULT_COLOR}Compile wxGTK with OpenGL support"
- else
+  exit 1;
+ fi
   cmake -DCMAKE_INSTALL_PREFIX=/usr &&
   sedit s at CMAKE_EXE_LINKER_FLAGS:STRING=@CMAKE_EXE_LINKER_FLAGS:STRING=-lpthread@ CMakeCache.txt &&
   default_make
- fi 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list