Skip to content

Commit

Permalink
Merge pull request #57 from mariux64/fix-issue52
Browse files Browse the repository at this point in the history
TEMPLATE.sh: Die, if BUILD_TMPDIR can't be removed
  • Loading branch information
donald authored Apr 30, 2019
2 parents de54219 + d6e56aa commit 3387f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TEMPLATE.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set -xe
umask 022

BUILD_TMPDIR=/dev/shm/$PKG-$VERSION-$BUILD.build.tmp
test -d $BUILD_TMPDIR && chmod -c -R u+rwx $BUILD_TMPDIR && rm -rf $BUILD_TMPDIR
test -d $BUILD_TMPDIR && ( chmod -R u+rwx $BUILD_TMPDIR || true ; rm -rf $BUILD_TMPDIR )
mkdir -p $BUILD_TMPDIR/home
export TMPDIR=$BUILD_TMPDIR
export HOME=$BUILD_TMPDIR/home
Expand Down

0 comments on commit 3387f43

Please sign in to comment.