summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-11-28 00:57:23 -0800
committerWayne Davison <wayned@samba.org>2007-11-28 01:00:02 -0800
commit13e4914826df2ded6dfe46e73ae0ebcd10aff231 (patch)
tree0ef6f7c20db6d264f57393227937652d6feecf7a
parent932fcfc1aab6c5cb376cc0a17487feaf1b285f8f (diff)
downloadrsync-13e4914826df2ded6dfe46e73ae0ebcd10aff231.tar.gz
rsync-13e4914826df2ded6dfe46e73ae0ebcd10aff231.tar.bz2
rsync-13e4914826df2ded6dfe46e73ae0ebcd10aff231.zip
Fixed a problem with extracting the previous release's
generated files (used to create the release diff).
-rwxr-xr-xpackaging/release-rsync3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/release-rsync b/packaging/release-rsync
index 30b5f2b6..5ceda93e 100755
--- a/packaging/release-rsync
+++ b/packaging/release-rsync
@@ -194,9 +194,10 @@ print "<Press Enter to continue> ";
$_ = <STDIN>;
@_ = @extra_files;
-map { s#^#a/# } @_;
+map { s#^#rsync-$lastversion/# } @_;
$_[0] =~ s/configure\.sh/configure/; # XXX remove soon
system "tar xzf $lasttar_file @_";
+rename("rsync-$lastversion", 'a');
rename("a/configure", "a/configure.sh"); # XXX remove soon
system "rsync -a @extra_files rsync-$version/";