Remove tree forcefully when finished in build-voyager-tarball

Just importing zerver.lib.cache creates a file memcached_prefix that
is mode 0444, so we need to use -f or rm will prompt about whether to
remove it. Not sure why this is apparently a new issue.

(imported from commit 93c5140b66992339859e2b204c200d1dd7a35f2d)
This commit is contained in:
Reid Barton
2015-08-23 23:00:32 -07:00
parent 36716fe518
commit 1f07cbed1e

View File

@@ -73,7 +73,7 @@ cd $TMPDIR
tar --append -f $TARBALL $prefix/prod-static $prefix/build_id $prefix/version
rm -r $prefix
rm -rf $prefix
gzip $TARBALL
echo "Generated $TARBALL.gz"