We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cec3dc commit af6ed6bCopy full SHA for af6ed6b
1 file changed
tools/xen/build_domU.sh
@@ -7,6 +7,12 @@ if [ ! -e ../../localrc ]; then
7
exit 1
8
fi
9
10
+# This directory
11
+TOP_DIR=$(cd $(dirname "$0") && pwd)
12
+
13
+# Source params
14
+cd ../.. && source ./stackrc && cd $TOP_DIR
15
16
# Echo commands
17
set -o xtrace
18
@@ -41,9 +47,6 @@ GUEST_PASSWORD=${GUEST_PASSWORD:-secrete}
41
47
# Size of image
42
48
VDI_MB=${VDI_MB:-2500}
43
49
44
-# This directory
45
-TOP_DIR=$(cd $(dirname "$0") && pwd)
46
-
50
# Make sure we have git
51
if ! which git; then
52
GITDIR=/tmp/git-1.7.7
0 commit comments