[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesdk/scripts
From: Harri Porten <porten () kde ! org>
Date: 2003-11-20 21:37:45
[Download RAW message or body]
CVS commit by porten:
work out of non-CVS controlled directories if CVSROOT is not set
okayed by David
M +8 -4 cvslastchange 1.15
--- kdesdk/scripts/cvslastchange #1.14:1.15
@@ -44,6 +44,10 @@
$vold = $v1 . '.' . $v2old;
}
-print "cvs -f log -N -r$vnew $filename\n";
-system("cvs -f log -N -r$vnew $filename");
-print "cvs -f diff -kk -bp -u -r$vold -r$vnew $filename\n";
-system("cvs -f diff -kk -bp -u -r$vold -r$vnew $filename");
+my $base = basename($filename);
+my $dir = dirname($filename);
+my $cmd = "cd $dir; cvs -f log -N -r$vnew $base";
+print "$cmd\n";
+system("$cmd");
+$cmd = "cd $dir; cvs -f diff -kk -bp -u -r$vold -r$vnew $base";
+print "$cmd\n";
+system("$cmd");
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic