Revision 75b32fff
b/autotools/run-in-tempdir | ||
---|---|---|
11 | 11 |
mkdir $tmpdir/doc |
12 | 12 |
|
13 | 13 |
cp -r autotools daemons scripts lib tools test qa $tmpdir |
14 |
cp -r doc/examples $tmpdir/doc
|
|
14 |
ln -s $PWD/doc/examples $tmpdir/doc
|
|
15 | 15 |
|
16 | 16 |
mv $tmpdir/lib $tmpdir/ganeti |
17 | 17 |
ln -T -s $tmpdir/ganeti $tmpdir/lib |
... | ... | |
19 | 19 |
mkdir -p $tmpdir/htools $tmpdir/htest |
20 | 20 |
for hfile in htools ganeti-confd mon-collector; do |
21 | 21 |
if [ -e htools/$hfile ]; then |
22 |
cp -p htools/$hfile $tmpdir/htools/
|
|
22 |
ln -s $PWD/htools/$hfile $tmpdir/htools/
|
|
23 | 23 |
fi |
24 | 24 |
done |
25 | 25 |
|
26 | 26 |
for hfile in hpc-htools test offline-test.sh cli-tests-defs.sh \ |
27 | 27 |
hbal hscan hspace hinfo hcheck hail hroller hpc-mon-collector; do |
28 | 28 |
if [ -e htest/$hfile ]; then |
29 |
cp -p htest/$hfile $tmpdir/htest/
|
|
29 |
ln -s $PWD/htest/$hfile $tmpdir/htest/
|
|
30 | 30 |
fi |
31 | 31 |
done |
32 | 32 |
|
Also available in: Unified diff