diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-11-03 12:33:53 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-11-03 12:33:53 -0500 |
commit | 7dbe6410f501a748759866cab89253c799001c57 (patch) | |
tree | f9989eff367f41bb406690c249d7c88a60ab4fd7 /src/treepkg | |
parent | 12a139ee5fb29a727c330fa61372f3d8d5fe7ab7 (diff) |
treepkg: obey $TMPDIR
Diffstat (limited to 'src/treepkg')
-rwxr-xr-x | src/treepkg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/treepkg b/src/treepkg index f7cc338..6dc9dda 100755 --- a/src/treepkg +++ b/src/treepkg @@ -103,7 +103,7 @@ done pkgbase="${pkgbase:-${pkgname[0]}}" # Get or set the work dir -BUILDDIR="${1:-$(mktemp -d /tmp/${pkgbase}-treepkg-XXXx)}" +BUILDDIR="${1:-$(mktemp --tmpdir -d ${pkgbase}-treepkg.XXXXXXXXXX)}" BUILDORDER="${BUILDDIR}/BUILDORDER" DEPTH=${2:-0} NEXTDEPTH=$((${DEPTH} + 1)) |