diff mbox

make-release: fix mtime on rhel6 beta

Message ID 20100624154852.GA11139@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Michael S. Tsirkin June 24, 2010, 3:48 p.m. UTC
None
diff mbox

Patch

diff --git a/kvm/scripts/make-release b/kvm/scripts/make-release
index e8051f4..cd28275 100755
--- a/kvm/scripts/make-release
+++ b/kvm/scripts/make-release
@@ -51,7 +51,7 @@  cd "$(dirname "$0")"/../..
 mkdir -p "$(dirname "$tarball")"
 git archive --prefix="$name/" --format=tar "$commit" > "$tarball"
 
-mtime=`git show --format=%ct "$commit" --`
+mtime=`git show --format=%ct "$commit"~0 --`
 tarargs="--owner=root --group=root --mtime=@$mtime"
 
 mkdir -p "$tmpdir"