diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-07-06 18:02:34 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-07-06 18:02:34 -0700 |
commit | 8c484baa3d55d9deef97d6e191a9e420e4fde059 (patch) | |
tree | 2f1213f90d4518bf03c5fb741e78532e6055f3ef /tools | |
parent | c7aeea86fb8a17e4402cfc42626dfff2fb04c1a0 (diff) | |
download | vyos-cloud-init-8c484baa3d55d9deef97d6e191a9e420e4fde059.tar.gz vyos-cloud-init-8c484baa3d55d9deef97d6e191a9e420e4fde059.zip |
Got this working for 'brpm' again.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/make-tarball | 3 |
1 files changed, 2 insertions, 1 deletions
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" |