From: Ian Jackson Date: Wed, 2 Jul 2008 15:22:02 +0000 (+0100) Subject: Expect absolute XEN_ROOT - this is more sane X-Git-Tag: xen-3.3.0-rc1~63 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=7207e9db36cbee6e1ea85fc463713e6ebe760a97;p=qemu-xen-3.3-testing.git Expect absolute XEN_ROOT - this is more sane --- diff --git a/xen-setup b/xen-setup index fcc1603e..e80165ca 100755 --- a/xen-setup +++ b/xen-setup @@ -11,11 +11,9 @@ rm -f config-host.mak target=i386-dm -case "$XEN_ROOT_PARENT" in -'') ;; -/*) echo "XEN_ROOT=$XEN_ROOT_PARENT" >>config-host.mak ;; -*) echo "XEN_ROOT=`pwd`/$XEN_ROOT_PARENT/.." >>config-host.mak ;; -esac +if [ "x$XEN_ROOT" != x ]; then + echo "XEN_ROOT=$XEN_ROOT" >>config-host.mak +fi ln -sf ../Makefile.target $target/Makefile ln -sf ../xen-config.mak $target/config.mak