ia64/xen-unstable

changeset 849:78052a1d23cf

bitkeeper revision 1.526.1.1 (3f8fc160axLZxAciQvvwLuO7BW8p0A)

trivial change to xen-clone to enable it to work on old repositories without the xenolinux-sparse link.
author iap10@labyrinth.cl.cam.ac.uk
date Fri Oct 17 10:16:00 2003 +0000 (2003-10-17)
parents 39d0706234b7
children 17e177bd54a9
files tools/misc/xen-clone
line diff
     1.1 --- a/tools/misc/xen-clone	Fri Oct 17 01:09:13 2003 +0000
     1.2 +++ b/tools/misc/xen-clone	Fri Oct 17 10:16:00 2003 +0000
     1.3 @@ -60,7 +60,7 @@ cd ${TOP}
     1.4  fi
     1.5  
     1.6  # identify this version of linux
     1.7 -LINUX_VER=`/bin/ls -ld ${DEST_BK_REP}/xenolinux-sparse | sed -e 's!^.*xenolinux-\([0-9.]\+\)-sparse!\1!'`
     1.8 +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!'`
     1.9  
    1.10  # copy in the master Linux tree for this kernel
    1.11  if [ ! -d linux-${LINUX_VER} ]