WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Removed "bk root" call from fbsdxensetup script

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Removed "bk root" call from fbsdxensetup script
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 01 Jul 2005 08:44:09 -0400
Delivery-date: Fri, 01 Jul 2005 12:44:33 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>