[Lunar-commits] <lunar> Backmerged fix for submit patch bug.

Auke Kok sofar at lunar-linux.org
Mon Jul 2 04:43:04 CEST 2012


commit 42f071eff60ab8c7431f09390c95d2e5ac991e3a
Author: Auke Kok <sofar at lunar-linux.org>
Date:   Fri Jun 3 09:44:12 2005 +0000

    Backmerged fix for submit patch bug.
---
 bin/lvu |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/lvu b/bin/lvu
index 82876ed..283e174 100755
--- a/bin/lvu
+++ b/bin/lvu
@@ -817,10 +817,10 @@ submit_module() {
 	    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