[Lunar-commits] <lunar> Fixed the same parentheses bug that was in theedge. echo commands and parens really should be backslashed escaped.

Terry Chan tchan at lunar-linux.org
Mon Jul 2 04:43:09 CEST 2012


commit 06a55c420602e9b8859ac70f5c207e0656085d13
Author: Terry Chan <tchan at lunar-linux.org>
Date:   Sat Dec 31 04:17:46 2005 +0000

    Fixed the same parentheses bug that was in theedge. echo commands and parens
    really should be backslashed escaped.
---
 var/lib/lunar/functions/optimize.lunar |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/var/lib/lunar/functions/optimize.lunar b/var/lib/lunar/functions/optimize.lunar
index 3d040bb..e802ee7 100644
--- a/var/lib/lunar/functions/optimize.lunar
+++ b/var/lib/lunar/functions/optimize.lunar
@@ -649,7 +649,7 @@ optimize_ld() {
 optimize_addon() {
   debug_msg "optimize_addon ($@)"
   if ! [[ `grep ADDON /etc/lunar/local/optimizations` ]]; then
-    echo ADDON=( None ) >> /etc/lunar/local/optimizations
+    echo ADDON=\( None \) >> /etc/lunar/local/optimizations
     ADDON=( None )
   fi
 
@@ -711,13 +711,13 @@ BUILD=i386-pc-linux-gnu '\n'    \
 MAKES=                  '\n'    \
 BOPT=-O0                '\n'    \
 CPU=i386                '\n'    \
-SPD=( )                 '\n'    \
+SPD=\( \)                 '\n'    \
 STACK=                  '\n'    \
-XTRA=( )                '\n'    \
+XTRA=\( \)                '\n'    \
 FPM=                    '\n'    \
-CC_OPTS=( )             '\n'    \
-LDF=( )                 '\n'    \
-ADDON=( ) > /etc/lunar/local/optimizations
+CC_OPTS=\( \)             '\n'    \
+LDF=\( \)                 '\n'    \
+ADDON=\( \) > /etc/lunar/local/optimizations
   fi
 
   #lets get the BUILD if it is not defined   


More information about the Lunar-commits mailing list