]> git.pld-linux.org Git - packages/rpm-pld-macros.git/commitdiff
- add cvslog function
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 2 Nov 2006 22:47:47 +0000 (22:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-build.sh -> 1.6

rpm-build.sh

index 953dcac21ef90cd3b5b3de8aec835283d38fe057..52e097d6b82a3865796f435ef4b9fd211ee42cbb 100644 (file)
@@ -87,3 +87,9 @@ sed -e '
        s,$,\e[0m,
 ' "$@"
 }
+
+# chdir to file location and do 'cvs log'
+cvslog() {
+       local f="$1"
+       (cd ${f%/*} && cvs log ${f##*/})
+}
This page took 0.357464 seconds and 4 git commands to generate.