From af6ed6b1b5966aa468798584f81334510fb128a2 Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Wed, 2 Nov 2011 07:50:27 -0500 Subject: [PATCH] source stackrc --- tools/xen/build_domU.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/xen/build_domU.sh b/tools/xen/build_domU.sh index c7bb3d1730..65049af3bc 100755 --- a/tools/xen/build_domU.sh +++ b/tools/xen/build_domU.sh @@ -7,6 +7,12 @@ if [ ! -e ../../localrc ]; then exit 1 fi +# This directory +TOP_DIR=$(cd $(dirname "$0") && pwd) + +# Source params +cd ../.. && source ./stackrc && cd $TOP_DIR + # Echo commands set -o xtrace @@ -41,9 +47,6 @@ GUEST_PASSWORD=${GUEST_PASSWORD:-secrete} # Size of image VDI_MB=${VDI_MB:-2500} -# This directory -TOP_DIR=$(cd $(dirname "$0") && pwd) - # Make sure we have git if ! which git; then GITDIR=/tmp/git-1.7.7