diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-25 12:28:59 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-25 12:28:59 -0700 |
commit | 6d74afcd0e11de5cb56623d9121472e9212e8481 (patch) | |
tree | 9256187f8e4a5b3e6e9212105c87a2de187f68a9 /tools/make-dist-tarball | |
parent | ffe4cde6d3fd95131b4434ca2d88af469dacfd51 (diff) | |
download | vyos-cloud-init-6d74afcd0e11de5cb56623d9121472e9212e8481.tar.gz vyos-cloud-init-6d74afcd0e11de5cb56623d9121472e9212e8481.zip |
1. Moving around the packages dir.
2. Adjusting the bddep shell script
3. Starting to add a brpm
Diffstat (limited to 'tools/make-dist-tarball')
-rwxr-xr-x | tools/make-dist-tarball | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/tools/make-dist-tarball b/tools/make-dist-tarball deleted file mode 100755 index d6d53aa7..00000000 --- a/tools/make-dist-tarball +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -Usage() { - cat <<EOF -Usage: ${0##*/} version - make a tarball of 'version' - must be in a bzr directory, and 'version' must be a tag - -EOF -} - -topdir=$PWD -tag=${1} - -[ -n "$tag" ] || { Usage 1>&2 ; exit 1; } - -tmpd=$(mktemp -d ); -trap "rm -Rf '${tmpd}'" 0 - -out=${topdir}/cloud-init-${tag}.tar.gz - -cd ${tmpd} && - bzr branch -r "tag:${tag}" "${topdir}" ./cloud-init-${tag} && - tar czf "${out}" cloud-init-${tag}/ --exclude cloud-init-${tag}/.bzr && - echo "wrote ${out}" |