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

Auke Kok sofar at lunar-linux.org
Wed May 10 22:26:15 UTC 2006


Author: sofar
Date: 2006-05-10 22:26:15 +0000 (Wed, 10 May 2006)
New Revision: 20032

Modified:
   lunar/trunk/bin/lvu
Log:
Must have fixed this 3x already and never got it right - this finally fixes lvu diff the proper way.


Modified: lunar/trunk/bin/lvu
===================================================================
--- lunar/trunk/bin/lvu	2006-05-10 21:02:49 UTC (rev 20031)
+++ lunar/trunk/bin/lvu	2006-05-10 22:26:15 UTC (rev 20032)
@@ -761,8 +761,8 @@
 	  message "no local copy of \"$MODULE\" exists"
 	  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"
+	ZSECTION=$(echo "$SECTION/" | sed 's/^zlocal\///g;s/\/$//')
+    diff -Nurb $MOONBASE/$NZSECTION/$MODULE $MOONBASE/zlocal/$ZSECTION/$MODULE --exclude ".svn" --exclude "CVS" | grep -v "^diff " | sed "s:$MOONBASE/$NZSECTION/::g;s:$MOONBASE/zlocal/$ZSECTION/::g"
   fi
 }
 



More information about the Lunar-commits mailing list