aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkaf24@freefall.cl.cam.ac.uk <kaf24@freefall.cl.cam.ac.uk>2004-11-02 22:41:10 +0000
committerkaf24@freefall.cl.cam.ac.uk <kaf24@freefall.cl.cam.ac.uk>2004-11-02 22:41:10 +0000
commit95cd5e89acf0600ed3f729d1ec2aeaf127a52569 (patch)
tree3fc66580cbb09565d07119f3fc8f6e38b5a419cd
parent19e5c01120126b1587a3d83236d68e1e380564c4 (diff)
downloadxen-95cd5e89acf0600ed3f729d1ec2aeaf127a52569.tar.gz
xen-95cd5e89acf0600ed3f729d1ec2aeaf127a52569.tar.bz2
xen-95cd5e89acf0600ed3f729d1ec2aeaf127a52569.zip
bitkeeper revision 1.1159.152.1 (41880d06wl_WFOoG_mxUBjptw3ZC_g)
Fix xen-clone for the new semantics of 'make dist'.
-rwxr-xr-xtools/misc/xen-clone11
1 files changed, 10 insertions, 1 deletions
diff --git a/tools/misc/xen-clone b/tools/misc/xen-clone
index 63fccb841d..0ec95ee464 100755
--- a/tools/misc/xen-clone
+++ b/tools/misc/xen-clone
@@ -68,7 +68,16 @@ then
export LINUX_SRC_PATH=${LINUX_DIR}
cd ${DEST_BK_REP}
- ln -sf ../install install
+
+ # Recent repositories install into 'dist/install' rather than 'install'.
+ if [ -f install.sh ]
+ then
+ mkdir -p dist
+ ln -sf ../../install dist/install
+ else
+ ln -sf ../install install
+ fi
+
make -j4 world
make -j4 linux24
cd ../install/boot