projects
/
ganeti-local
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'devel-2.3'
[ganeti-local]
/
autotools
/
run-in-tempdir
diff --git
a/autotools/run-in-tempdir
b/autotools/run-in-tempdir
index
4c87dfc
..
4114346
100755
(executable)
--- a/
autotools/run-in-tempdir
+++ b/
autotools/run-in-tempdir
@@
-5,7
+5,7
@@
set -e
tmpdir=$(mktemp -d -t gntbuild.XXXXXXXX)
trap "rm -rf $tmpdir" EXIT
-cp -r scripts lib tools test $tmpdir
+cp -r daemons scripts lib tools test $tmpdir
mv $tmpdir/lib $tmpdir/ganeti
-cd $tmpdir && "$@"
+cd $tmpdir && GANETI_TEMP_DIR="$tmpdir" "$@"