]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- fix terminal piping
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 9 Dec 2006 12:44:50 +0000 (12:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-build.sh -> 1.10

rpm-build.sh

index 953c2d65f077f094fbb7c1cfeacc0f0403d454d8..6eb3d556a37453d7a1d7e955f4514aa8b48c342f 100644 (file)
@@ -41,9 +41,10 @@ urldiff() {
        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
This page took 0.028561 seconds and 4 git commands to generate.