summaryrefslogtreecommitdiff
path: root/fullpkg
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-05 00:46:06 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-05 00:46:06 -0300
commit9f28620de84a5a35d2ca029ad9145a4b01233929 (patch)
treeedebbb57370c84a6df7bddf7dfb8617edb22eab7 /fullpkg
parentd2abc7fe1075bf541cd85b29e8053096ab74fb29 (diff)
parentc5d7675fa4de40514deda2757cd027bb4870424e (diff)
Merge branch 'master' into fauno
Conflicts: is_built
Diffstat (limited to 'fullpkg')
-rwxr-xr-xfullpkg3
1 files changed, 2 insertions, 1 deletions
diff --git a/fullpkg b/fullpkg
index fe74432..bccd816 100755
--- a/fullpkg
+++ b/fullpkg
@@ -27,6 +27,7 @@ done
shift $(( OPTIND - 1 ))
-fullpkg-find "$1" && fullpkg-build -N "$1"
+build_dir="${1:-$(mktemp -d /tmp/fullpkg.XXXXXX)}"
+fullpkg-find "$build_dir" && fullpkg-build -N "$build_dir"
exit 0