diff options
Diffstat (limited to 'libexec/build-make-clean')
-rwxr-xr-x | libexec/build-make-clean | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/build-make-clean b/libexec/build-make-clean index ddc000c..8c5834d 100755 --- a/libexec/build-make-clean +++ b/libexec/build-make-clean @@ -15,8 +15,8 @@ build_make_clean() # this file. cat "var/db/binpkgs/${CATEGORY}/${NAME}" | xargs -0 rm -f & fi - if [ -d "${W}" ]; then - rm -rf "${W}" & + if [ -d "${BUILDER_TMPDIR}/${CATEGORY}/${NAME}" ]; then + rm -rf "${BUILDER_TMPDIR}/${CATEGORY}/${NAME}" & fi wait |