Browse code

Merge "Revert "Allow properly overriding DEST""

Jenkins authored on 2016/09/01 13:46:54
Showing 1 changed files
... ...
@@ -16,6 +16,15 @@ source $RC_DIR/functions
16 16
 # Destination path for installation
17 17
 DEST=/opt/stack
18 18
 
19
+# Destination for working data
20
+DATA_DIR=${DEST}/data
21
+
22
+# Destination for status files
23
+SERVICE_DIR=${DEST}/status
24
+
25
+# Path for subunit output file
26
+SUBUNIT_OUTPUT=${DEST}/devstack.subunit
27
+
19 28
 # Determine stack user
20 29
 if [[ $EUID -eq 0 ]]; then
21 30
     STACK_USER=stack
... ...
@@ -121,15 +130,6 @@ elif [[ -f $RC_DIR/.localrc.auto ]]; then
121 121
     source $RC_DIR/.localrc.auto
122 122
 fi
123 123
 
124
-# Destination for working data
125
-DATA_DIR=${DATA_DIR:-$DEST/data}
126
-
127
-# Destination for status files
128
-SERVICE_DIR=${SERVICE_DIR:-$DEST/status}
129
-
130
-# Path for subunit output file
131
-SUBUNIT_OUTPUT=${SUBUNIT_OUTPUT:-$DEST/devstack.subunit}
132
-
133 124
 # Default for log coloring is based on interactive-or-not.
134 125
 # Baseline assumption is that non-interactive invocations are for CI,
135 126
 # where logs are to be presented as browsable text files; hence color