Module submission - links2

Benoit Valiron bvali087 at uottawa.ca
Thu Oct 6 01:53:27 UTC 2005


> >By the way, "lvu diff links2" does not give a valid "diff".
> >
> >
> 
> it requires that you use 'lvu edit' first and only edit the zlocal copy
> that was generated, but my diffs might indeed be off. Feel free to hack
> lvu to fix.
> 

Here is a diff file for lvu.

-- 
Benoit
-------------- next part --------------
--- /bin/lvu	2005-07-27 04:05:03.000000000 -0400
+++ /bin/lvu.modified	2005-10-05 21:50:18.000000000 -0400
@@ -753,7 +753,7 @@ diff_module() {
 	  exit 1
     fi
 	ZSECTION=$(echo $SECTION | sed 's/zlocal\///g')
-    diff -Nurb $MOONBASE/$NZSECTION/$MODULE $MOONBASE/zlocal/$ZSECTION/$MODULE --exclude ".svn" --exclude "CVS" | sed "s|^\([+-][+-][+-] \)$MOONBASE/[^/]*/|\1|g" | grep -v "^diff " | sed "s|$ZSECTION\/||g"
+    diff -Nurb $MOONBASE/$NZSECTION/$MODULE $MOONBASE/$ZSECTION/$MODULE --exclude ".svn" --exclude "CVS" | sed "s|^\([+-][+-][+-] \)$MOONBASE/[^/]*/|\1|g" | grep -v "^diff " | sed "s|$ZSECTION\/||g"
   fi
 }
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://foo-projects.org/pipermail/lunar/attachments/20051006/d85d0319/attachment.bin


More information about the Lunar mailing list