CVS: theedge/var/lib/lunar/functions download.lunar, 1.32, 1.33 optimize.lunar, 1.42, 1.43

sofar at lunar-linux.org sofar at lunar-linux.org
Thu Aug 14 19:41:40 GMT 2003


Update of /var/cvs/lunar/theedge/var/lib/lunar/functions
In directory dbguin.lunar-linux.org:/tmp/cvs-serv10303/var/lib/lunar/functions

Modified Files:
	download.lunar optimize.lunar 
Log Message:
this one fixes the appearing '1' file and also re-enables distcc (MAKES wasn't being set correctly due to this bug.) I'm also enabling DEBUG output in the wrapper scripts so you can see -pipe DOES WORK, you just don't see it ;^).


Index: download.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/download.lunar,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- download.lunar	5 Aug 2003 07:52:07 -0000	1.32
+++ download.lunar	14 Aug 2003 19:41:38 -0000	1.33
@@ -282,7 +282,7 @@
     if [ "${1:0:6}" == "cvs://" ] ; then
       # cvs urls
       CVS_THRESHOLD=${CVS_THRESHOLD:-10}
-      if [ "$CVS_THRESHOLD" > 0 ] ; then
+      if [ "$CVS_THRESHOLD" -gt 0 ] ; then
         if [ ! -f "$2" ] ; then
 	  get_cvs $1 $2
         elif [ "$(find $2 -amin +$CVS_THRESHOLD)" == "$2" ] ; then
@@ -296,7 +296,7 @@
     elif [ "${1:0:6}" == "svn://" ] ; then
       # svn urls
       SVN_THRESHOLD=${SVN_THRESHOLD:-10}
-      if [ "SVN_THRESHOLD" > 0 ] ; then
+      if [ "SVN_THRESHOLD" -gt 0 ] ; then
         if [ ! -f "$2" ] ; then
 	  get_svn $1 $2
 	elif [ "$(find $2 -amin +$SVN_THRESHOLD)" == "$2" ] ; then

Index: optimize.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/optimize.lunar,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- optimize.lunar	7 Aug 2003 07:35:52 -0000	1.42
+++ optimize.lunar	14 Aug 2003 19:41:38 -0000	1.43
@@ -61,10 +61,10 @@
   fi
   if module_installed linux-openmosix; then
     alias make="mosrun -h make"
-    if [ "$MAKES" > 1 ] ]; then
+    if [[ "$MAKES" > 1 ]] ; then
       alias make="mosrun -h make -j$MAKES"
     fi
-  elif [ "$MAKES" > 1 ] ; then
+  elif [[ $MAKES > 1 ]] ; then
     alias make="make -j$MAKES"
   fi
   verbose_msg "make=\"$(which make)\", MAKES=\"$MAKES\""
@@ -582,8 +582,8 @@
 
 optimize_stack() {
   debug_msg "optimize_stack ($@)"
-  if [[ $STACK > 0 ]]; then
-    if [[ $PLATFORM == "x86" ]]; then
+  if [[ $STACK > 0 ]] ; then
+    if [ $PLATFORM == "x86" ] ; then
       STACK="-mpreferred-stack-boundary=$STACK" 
     fi
       CFLAGS="$CFLAGS $STACK"




More information about the Lunar-commits mailing list