build-debian: Remove tmp dir afterwards

This commit is contained in:
Johan Gunnarsson 2021-08-03 20:54:41 +02:00
parent 0aeb10a989
commit ca16cfaff8
1 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,8 @@ ubuntu-armhf|ubuntu-arm64|ubuntu-amd64)
esac
# Create fresh empty directory
TMP=$(mktemp -d tmp.XXXXXX)
TMP=$(mktemp -d -p "${PWD}" tmp-XXXXXX)
trap 'rm -rf "${TMP}"' EXIT INT TERM
cd "${TMP}"
# Build a Debian root filesystem (first stage)