[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 8be528910f3bf725f7470e9812494c7251a9d139
# Parent  b6204c62e4ceda74dd33cd8d1c221256e13d9fad



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.

diff -r b6204c62e4ce -r 8be528910f3b freebsd-5.3-xen-sparse/fbsdxensetup
--- a/freebsd-5.3-xen-sparse/fbsdxensetup       Thu Jun 23 02:53:29 2005
+++ b/freebsd-5.3-xen-sparse/fbsdxensetup       Fri Jul  1 10:25:54 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
+fi
 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.