mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-19 10:37:01 +00:00
Forgot to delete temp dir after packaging
This commit is contained in:
@@ -14,7 +14,6 @@ set -e
|
|||||||
tmpdir=/tmp/inbucket-dist.$$
|
tmpdir=/tmp/inbucket-dist.$$
|
||||||
mkdir -p $tmpdir
|
mkdir -p $tmpdir
|
||||||
|
|
||||||
|
|
||||||
# Figure out our build env/target
|
# Figure out our build env/target
|
||||||
go env > $tmpdir/env
|
go env > $tmpdir/env
|
||||||
source $tmpdir/env
|
source $tmpdir/env
|
||||||
@@ -35,4 +34,9 @@ tarball="$HOME/$distname.tbz2"
|
|||||||
cd $tmpdir
|
cd $tmpdir
|
||||||
tar cjvf $tarball $distname
|
tar cjvf $tarball $distname
|
||||||
|
|
||||||
|
echo "Cleaning up..."
|
||||||
|
if [ "$tmpdir" != "/" ]; then
|
||||||
|
rm -rf $tmpdir
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Created $tarball"
|
echo "Created $tarball"
|
||||||
|
|||||||
Reference in New Issue
Block a user