1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-18 10:07:02 +00:00

Forgot to delete temp dir after packaging

This commit is contained in:
James Hillyerd
2012-10-27 12:14:50 -07:00
parent 9ee8a2e1e3
commit e9bde25790

View File

@@ -14,7 +14,6 @@ set -e
tmpdir=/tmp/inbucket-dist.$$
mkdir -p $tmpdir
# Figure out our build env/target
go env > $tmpdir/env
source $tmpdir/env
@@ -35,4 +34,9 @@ tarball="$HOME/$distname.tbz2"
cd $tmpdir
tar cjvf $tarball $distname
echo "Cleaning up..."
if [ "$tmpdir" != "/" ]; then
rm -rf $tmpdir
fi
echo "Created $tarball"