![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
Author: tilman Date: 2006-04-29 20:27:19 +0200 (Sat, 29 Apr 2006) New Revision: 1322 Modified: crux-2.2/ports/core/rsync/rsync.driver Log: rsync: made the driver print the name of the destination directory when updating a collection instead of the upstream name of the collection Modified: crux-2.2/ports/core/rsync/rsync.driver =================================================================== --- crux-2.2/ports/core/rsync/rsync.driver 2006-04-29 13:27:32 UTC (rev 1321) +++ crux-2.2/ports/core/rsync/rsync.driver 2006-04-29 18:27:19 UTC (rev 1322) @@ -5,6 +5,7 @@ use warnings; use strict; +use File::Basename; my $host = ''; my $collection = ''; @@ -74,7 +75,7 @@ close(PIPE); error("Running rsync failed") unless $? == 0; -print "Updating collection $collection\n"; +print "Updating collection " . basename($destination) . "\n"; # now really run rsync open(PIPE, 'rsync -crz --log-format "%o %n" ' . $host . "::$collection $destination|") or error("Couldn't open pipe to rsync");
participants (1)
-
crux@crux.nu