diff options
| author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-07-06 17:29:09 -0700 |
|---|---|---|
| committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-07-06 17:29:09 -0700 |
| commit | c7aeea86fb8a17e4402cfc42626dfff2fb04c1a0 (patch) | |
| tree | 032389ae7e0e7ffb1541086a9c60731492825e06 /packages/make-dist-tarball | |
| parent | b2a21ed1dc682a262d55a4202c6b9606496d211f (diff) | |
| download | vyos-cloud-init-c7aeea86fb8a17e4402cfc42626dfff2fb04c1a0.tar.gz vyos-cloud-init-c7aeea86fb8a17e4402cfc42626dfff2fb04c1a0.zip | |
Reworking these to look attempt to find the right parent directory, as well
as adjustments due to sysvinit rename.
Diffstat (limited to 'packages/make-dist-tarball')
| -rwxr-xr-x | packages/make-dist-tarball | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/packages/make-dist-tarball b/packages/make-dist-tarball deleted file mode 100755 index 622283bd..00000000 --- a/packages/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}" |
