]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- updated
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 31 Oct 2006 20:27:57 +0000 (20:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-build.sh -> 1.5

rpm-build.sh

index 0a397b7f8b249de0e8e5279d98dcb5f8b5bc120e..953dcac21ef90cd3b5b3de8aec835283d38fe057 100644 (file)
@@ -7,7 +7,7 @@ alias ac-requires='ac what-requires'
 alias ac-provides='ac what-provides'
 alias ac-verify='poldek --sn ac --sn ac-ready -V'
 alias ac-tag='./builder -cf -T AC-branch -r HEAD'
-alias adif="dif -x '*.m4' -x ltmain.sh -x install-sh -x depcomp -x 'Makefile.in' -x compile -x 'config.*' -x configure -x missing -x mkinstalldirs"
+alias adif="dif -x '*.m4' -x ltmain.sh -x install-sh -x depcomp -x 'Makefile.in' -x compile -x 'config.*' -x configure -x missing -x mkinstalldirs -x autom4te.cache"
 alias pclean="sed -i~ -e '/^\(?\|=\+$\|unchanged:\|diff\|only\|Only\|Files\|Common\|Index:\|RCS file\|retrieving\)/d'"
 
 # merges two patches
@@ -38,7 +38,11 @@ urldiff() {
        file=${file%\?*}
 
        echo >&2 "$file: $r1 -> $r2"
-       cvs diff -u -r$r1 -r$r2 $file | tee m.patch | diffcol
+
+       if [ -t 1 ]; then
+               pipe=' | tee m.patch | diffcol'
+       fi
+       cvs diff -u -r$r1 -r$r2 $file $pipe
 }
 
 # downloads sourceforge url from specific mirror
This page took 0.34301 seconds and 4 git commands to generate.