[Lunar-commits] r15242 - lunar/trunk/bin

Auke Kok sofar at lunar-linux.org
Fri Jun 3 09:43:34 UTC 2005


Author: sofar
Date: 2005-06-03 09:43:33 +0000 (Fri, 03 Jun 2005)
New Revision: 15242

Modified:
   lunar/trunk/bin/lvu
Log:
lvu submit patch format broke: wrong linecount.


Modified: lunar/trunk/bin/lvu
===================================================================
--- lunar/trunk/bin/lvu	2005-06-03 09:24:49 UTC (rev 15241)
+++ lunar/trunk/bin/lvu	2005-06-03 09:43:33 UTC (rev 15242)
@@ -817,10 +817,10 @@
 	    diff -Nurb $MOONBASE/$SECTION/$MODULE $MOONBASE/zlocal/$MODULE --exclude ".svn" --exclude "CVS" | sed "s|^\([+-][+-][+-] \)$MOONBASE/[^/]*/|\1|g" | grep -v "^diff "
 	  else
         cd $SCRIPT_DIRECTORY
-        for FILE in $(find . -type f | grep -v -e 'CVS/' -e '\.svn/' | sed 's/\.\///g'); do
+        for FILE in $(find * -type f | grep -v -e 'CVS/' -e '\.svn/'); do
 		  echo "--- $MODULE/$FILE"
 		  echo "+++ $MODULE/$FILE"
-		  echo "@@ -0,0 +1,$(wc -l $MODULE/$FILE| echo) @@"
+		  echo "@@ -0,0 +1,$(wc -l $FILE| echo) @@"
           cat $FILE | sed 's|^|+|g'
         done
 	  fi



More information about the Lunar-commits mailing list