Browse code

Move USE_CONSTRAINTS normalization back to stackrc

stackrc needs to do all of the initialization for situations (Grenade,
unstack.sh, etc) that do not run stack.sh

Change-Id: Ib8c7b923dde817b37f852515dd049fcf970b999a

Dean Troyer authored on 2015/07/02 23:09:51
Showing 1 changed files
... ...
@@ -154,7 +154,7 @@ GIT_TIMEOUT=${GIT_TIMEOUT:-0}
154 154
 #
155 155
 # - True : use upper-constraints.txt to constrain versions of packages intalled
156 156
 #          and do not edit projects at all.
157
-USE_CONSTRAINTS=${USE_CONSTRAINTS:-False}
157
+USE_CONSTRAINTS=$(trueorfalse False USE_CONSTRAINTS)
158 158
 
159 159
 # Repositories
160 160
 # ------------