summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-11-04 11:23:53 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-11-04 11:23:53 -0500
commit4024d5396973dcd9403f26efafc87309e6f2e124 (patch)
treebfc692ede0eadea374d7dc192a528479ec44fa4e
parente362e5b23aa9f7322df5995d4b5e51dfea17956f (diff)
fullpkg: respect TMPDIR
-rwxr-xr-xsrc/fullpkg/fullpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fullpkg/fullpkg b/src/fullpkg/fullpkg
index 00a9502..978cf7b 100755
--- a/src/fullpkg/fullpkg
+++ b/src/fullpkg/fullpkg
@@ -29,7 +29,7 @@ done
shift $(( OPTIND - 1 ))
-build_dir="${1:-$(mktemp -d /tmp/fullpkg.XXXXXX)}"
+build_dir="${1:-$(mktemp --tmpdir -d fullpkg.XXXXXXXXXX)}"
fullpkg-find "$build_dir" && fullpkg-build -N "$build_dir"
exit 0