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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user