Author: glen                         Date: Sat Dec  9 12:44:55 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix terminal piping

---- Files affected:
SOURCES:
   rpm-build.sh (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SOURCES/rpm-build.sh
diff -u SOURCES/rpm-build.sh:1.9 SOURCES/rpm-build.sh:1.10
--- SOURCES/rpm-build.sh:1.9    Sun Nov 12 18:24:37 2006
+++ SOURCES/rpm-build.sh        Sat Dec  9 13:44:50 2006
@@ -41,9 +41,10 @@
        echo >&2 "$file: $r1 -> $r2"
 
        if [ -t 1 ]; then
-               pipe=' | tee m.patch | diffcol'
+               cvs diff -u -r$r1 -r$r2 $file | tee m.patch | diffcol
+       else
+               cvs diff -u -r$r1 -r$r2 $file
        fi
-       cvs diff -u -r$r1 -r$r2 $file $pipe
 }
 
 # downloads sourceforge url from specific mirror
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to