]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
cleanup functions related to pld cvs -- no longer needed
authorElan Ruusamäe <glen@delfi.ee>
Thu, 26 Feb 2015 21:37:32 +0000 (23:37 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 19 May 2015 09:05:15 +0000 (12:05 +0300)
apply 50eb5db5a3fef469eab5da342a76e7aa8f024bf0 from rpm-build-macros repo

shrc.sh

diff --git a/shrc.sh b/shrc.sh
index 56c27b859e1e36425c20d396556e690a6c275c81..d4831ca4744d7343b1bfce1fbc8fe12fb5c0846d 100755 (executable)
--- a/shrc.sh
+++ b/shrc.sh
@@ -196,36 +196,6 @@ fi # no $dist set
 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\|Tylko\|Files\|Common\|Index:\|RCS file\|retrieving\)/d'"
 
-# makes diff from PLD CVS urls
-# requires: cvs, tee
-urldiff() {
-       local url="$1"
-       if [ -z "$url" ]; then
-               echo >&2 "Reading STDIN"
-               read url
-       fi
-
-       echo >&2 "Process $url"
-       local file="$url"
-       file=${file#*SPECS/}
-       file=${file#*SOURCES/}
-       file=${file##*/}
-       local r1=${file#*r1=}
-       local r2=${r1#*r2=}
-       r2=${r2%%[&;]*}
-       r1=${r1%%[&;]*}
-       file=${file%\?*}
-       file=${file%.diff}
-
-       echo >&2 "$file: $r1 -> $r2"
-
-       if [ -t 1 ]; then
-               cvs diff -u -r$r1 -r$r2 $file | tee m.patch | diffcol
-       else
-               cvs diff -u -r$r1 -r$r2 $file
-       fi
-}
-
 # makes diff from kde svn path
 # requires: wget, tee
 kdediff() {
This page took 0.048929 seconds and 4 git commands to generate.