[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Removed "bk root" call from fbsdxensetup script
# HG changeset patch # User jrb44@xxxxxxxxxxxxxxxxx # Node ID 15a2de6f1493bd54a1468ea52cd78e979833c9f3 # Parent 0962f5989d2a75e9f89c889d1e81ab132ec04b0e 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@xxxxxxxxxxxxx> diff -r 0962f5989d2a -r 15a2de6f1493 freebsd-5.3-xen-sparse/fbsdxensetup --- a/freebsd-5.3-xen-sparse/fbsdxensetup Fri Jul 1 10:15:25 2005 +++ b/freebsd-5.3-xen-sparse/fbsdxensetup Fri Jul 1 12:35:58 2005 @@ -1,6 +1,11 @@ #!/bin/csh -f -setenv XENROOT `bk root` +setenv XENROOT `pwd` +cd $XENROOT +if ( ! -d freebsd-5.3-xen-sparse ) then + echo "Please run this script from the root of the Xen source tree" + exit 1 +endif rm -rf $XENROOT/fbsdtmp $XENROOT/freebsd-5.3-xenU mkdir -p $XENROOT/fbsdtmp cd $XENROOT/fbsdtmp _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |