[Lunar-commits] r17856 - lunar/trunk/var/lib/lunar/functions

Terry Chan tchan at lunar-linux.org
Sat Dec 31 04:10:29 UTC 2005


Author: tchan
Date: 2005-12-31 04:10:28 +0000 (Sat, 31 Dec 2005)
New Revision: 17856

Modified:
   lunar/trunk/var/lib/lunar/functions/optimize.lunar
Log:
Fixed some technically incorrect uses of parentheses inside a bash echo command.
Parens need to be backslash escaped, like "echo ADDON=\( None \)"


Modified: lunar/trunk/var/lib/lunar/functions/optimize.lunar
===================================================================
--- lunar/trunk/var/lib/lunar/functions/optimize.lunar	2005-12-31 01:36:11 UTC (rev 17855)
+++ lunar/trunk/var/lib/lunar/functions/optimize.lunar	2005-12-31 04:10:28 UTC (rev 17856)
@@ -660,7 +660,7 @@
 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
 
@@ -722,13 +722,13 @@
 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