[Lunar-commits] r20371 - moonbase/trunk/audio/audacity

Jannis Pohlmann jannis at lunar-linux.org
Sat Jun 10 16:29:32 UTC 2006


Author: jannis
Date: 2006-06-10 16:29:32 +0000 (Sat, 10 Jun 2006)
New Revision: 20371

Modified:
   moonbase/trunk/audio/audacity/PRE_BUILD
Log:
Fixed Audacity Unicode check

Modified: moonbase/trunk/audio/audacity/PRE_BUILD
===================================================================
--- moonbase/trunk/audio/audacity/PRE_BUILD	2006-06-10 04:47:08 UTC (rev 20370)
+++ moonbase/trunk/audio/audacity/PRE_BUILD	2006-06-10 16:29:32 UTC (rev 20371)
@@ -1,9 +1,8 @@
-if which wx-config &> /dev/null; then
-  if wx-config --unicode &> /dev/null; then
+if which wx-config &> /dev/null && wx-config --unicode &> /dev/null; then
     message "${MODULE_COLOR}wxGTK${DEFAULT}${MESSAGE_COLOR} has been compiled with Unicode support."
     message "If you want to install ${MODULE_COLOR}audacity${DEFAULT}${MESSAGE_COLOR} you have to "
     message "rebuild wxGTK without Unicode.${DEFAULT_COLOR}"
-    return 1
-  fi
+    false
+else
+  true
 fi
-



More information about the Lunar-commits mailing list