From 8c484baa3d55d9deef97d6e191a9e420e4fde059 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Fri, 6 Jul 2012 18:02:34 -0700 Subject: Got this working for 'brpm' again. --- tools/make-tarball | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/make-tarball') diff --git a/tools/make-tarball b/tools/make-tarball index 7fce5e28..aef95d47 100755 --- a/tools/make-tarball +++ b/tools/make-tarball @@ -21,12 +21,13 @@ then else REVNO=$(bzr revno $ROOT_DIR) VERSION=$($ROOT_DIR/tools/read-version) - ARCHIVE_FN="$PWD/cloud-init-$REVNO-$VERSION.tar.gz" + ARCHIVE_FN="$PWD/cloud-init-$VERSION-$REVNO.tar.gz" fi FILES=$(cd $ROOT_DIR && bzr ls --versioned --recursive) echo "$FILES" | tar czf $ARCHIVE_FN \ -C "$ROOT_DIR" \ + --transform "s,^,cloud-init-$VERSION-$REVNO/," \ --no-recursion --files-from - echo "$ARCHIVE_FN" -- cgit v1.2.3