Browse code

Correctly source .stackenv

Specifically to recall HOST_IP and SERVICE_HOST for the current DevStack configuration.

Bug 930274

Change-Id: I299d94101ab93faccc88917503409e0afaa0a523

Dean Troyer authored on 2013/03/30 00:15:36
Showing 1 changed files
... ...
@@ -27,8 +27,8 @@ source $RC_DIR/functions
27 27
 source $RC_DIR/stackrc
28 28
 
29 29
 # Load the last env variables if available
30
-if [[ -r $TOP_DIR/.stackenv ]]; then
31
-    source $TOP_DIR/.stackenv
30
+if [[ -r $RC_DIR/.stackenv ]]; then
31
+    source $RC_DIR/.stackenv
32 32
 fi
33 33
 
34 34
 # Get some necessary configuration