Browse code

fix sourcing

Jesse Andrews authored on 2011/10/31 10:43:54
Showing 1 changed files
... ...
@@ -35,13 +35,14 @@ if [ ! -e $TOP_DIR/localrc ]; then
35 35
     exit 1
36 36
 fi
37 37
 
38
+cd $TOP_DIR
39
+
38 40
 # Source params
39 41
 source ./stackrc
40 42
 
41 43
 # Configure the root password of the vm to be the same as ``ADMIN_PASSWORD``
42 44
 ROOT_PASSWORD=${ADMIN_PASSWORD:-password}
43 45
 
44
-
45 46
 # Base image (natty by default)
46 47
 DIST_NAME=${DIST_NAME:-natty}
47 48
 IMAGE_FNAME=$DIST_NAME.raw