aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>2003-10-17 10:16:07 +0000
committeriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>2003-10-17 10:16:07 +0000
commit88e5f2a76564216ac2818e47deebf7428fba20d9 (patch)
tree9a8949c278620eaa063fe39f21da8225eabc97a0
parent0c66a95b41788ae5df61ef70670a86199c8ecfe7 (diff)
parent5b82b1ec698e0859f31e22ffb731e6c736748683 (diff)
downloadxen-88e5f2a76564216ac2818e47deebf7428fba20d9.tar.gz
xen-88e5f2a76564216ac2818e47deebf7428fba20d9.tar.bz2
xen-88e5f2a76564216ac2818e47deebf7428fba20d9.zip
bitkeeper revision 1.528 (3f8fc167wdsskH7154hC5n8rpjKSAw)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xeno.bk
-rwxr-xr-xtools/misc/xen-clone2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/misc/xen-clone b/tools/misc/xen-clone
index 96da9fe371..07a918113d 100755
--- a/tools/misc/xen-clone
+++ b/tools/misc/xen-clone
@@ -60,7 +60,7 @@ cd ${TOP}
fi
# identify this version of linux
-LINUX_VER=`/bin/ls -ld ${DEST_BK_REP}/xenolinux-sparse | sed -e 's!^.*xenolinux-\([0-9.]\+\)-sparse!\1!'`
+LINUX_VER=`( /bin/ls -ld ${DEST_BK_REP}/xenolinux-sparse || /bin/ls -ld xenolinux-*-sparse ) 2>/dev/null | sed -e 's!^.*xenolinux-\([0-9.]\+\)-sparse!\1!'`
# copy in the master Linux tree for this kernel
if [ ! -d linux-${LINUX_VER} ]