direct-io.hg
changeset 5628:15a2de6f1493
Removed "bk root" call from fbsdxensetup script
The script assumes the current directory to be the top of the xen tree.
It makes a rudimentary check to this effect.
Signed-off-by: James Bulpin <james@xensource.com>
The script assumes the current directory to be the top of the xen tree.
It makes a rudimentary check to this effect.
Signed-off-by: James Bulpin <james@xensource.com>
author | jrb44@plym.cl.cam.ac.uk |
---|---|
date | Fri Jul 01 12:35:58 2005 +0000 (2005-07-01) |
parents | 0962f5989d2a |
children | 1bfa723fe264 |
files | freebsd-5.3-xen-sparse/fbsdxensetup |
line diff
1.1 --- a/freebsd-5.3-xen-sparse/fbsdxensetup Fri Jul 01 10:15:25 2005 +0000 1.2 +++ b/freebsd-5.3-xen-sparse/fbsdxensetup Fri Jul 01 12:35:58 2005 +0000 1.3 @@ -1,6 +1,11 @@ 1.4 #!/bin/csh -f 1.5 1.6 -setenv XENROOT `bk root` 1.7 +setenv XENROOT `pwd` 1.8 +cd $XENROOT 1.9 +if ( ! -d freebsd-5.3-xen-sparse ) then 1.10 + echo "Please run this script from the root of the Xen source tree" 1.11 + exit 1 1.12 +endif 1.13 rm -rf $XENROOT/fbsdtmp $XENROOT/freebsd-5.3-xenU 1.14 mkdir -p $XENROOT/fbsdtmp 1.15 cd $XENROOT/fbsdtmp