projects
/
ganeti-local
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add disk cache control parameter for KVM
[ganeti-local]
/
autotools
/
run-in-tempdir
1
#!/bin/bash
2
3
set -e
4
5
tmpdir=$(mktemp -d -t gntbuild.XXXXXXXX)
6
trap "rm -rf $tmpdir" EXIT
7
8
cp -r scripts lib tools test $tmpdir
9
mv $tmpdir/lib $tmpdir/ganeti
10
11
cd $tmpdir && "$@"