SOURCES: rpm-build.sh - add "d" function, very useful for merging ...

glen glen at pld-linux.org
Thu Mar 1 23:51:42 CET 2007


Author: glen                         Date: Thu Mar  1 22:51:42 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add "d" function, very useful for merging .rej

---- Files affected:
SOURCES:
   rpm-build.sh (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SOURCES/rpm-build.sh
diff -u SOURCES/rpm-build.sh:1.23 SOURCES/rpm-build.sh:1.24
--- SOURCES/rpm-build.sh:1.23	Sun Feb 25 03:17:58 2007
+++ SOURCES/rpm-build.sh	Thu Mar  1 23:51:37 2007
@@ -142,3 +142,8 @@
 	[ "$d" = "$f" ] && d=.
 	(builtin cd $d && cvs log ${f##*/})
 }
+
+# does diff between FILE and FILE~
+d() {
+	dif $1{~,}
+}
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/rpm-build.sh?r1=1.23&r2=1.24&f=u



More information about the pld-cvs-commit mailing list