summaryrefslogtreecommitdiff
path: root/fullpkg
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-02-04 13:17:05 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-02-04 13:17:05 -0300
commit3fb8e62b798c0dffb201727439a6a0d90bc1b20f (patch)
treef69c1b6db4082e9188f22be8d3d3d5cc5212f34f /fullpkg
parent5ab36af3c7a505ff40bb8ca46ec387b94d85cbdf (diff)
parent9808018ca09050ade144d0dfc0b0b6edadefa368 (diff)
Merge branch 'master' of ssh://gparabola/libretools
Conflicts: libremakepkg
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