From 6c15c38f1a9e8e833a29637598f373d7ea29bc62 Mon Sep 17 00:00:00 2001 From: Flavio Fernandes Date: Wed, 6 Nov 2019 07:11:33 -0500 Subject: [PATCH] stackrc: Make REQUIREMENTS_DIR configurable In cases where global REQUIREMENTS_DIR is set, use it instead of overwriting it. This is particularly needed in cases where users of pip_install wrapper have the upper-constraints.txt at another location. Change-Id: I34e9f94548c575e1af5bca9655a3b7d1915375a8 Signed-off-by: Flavio Fernandes --- stackrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stackrc b/stackrc index 3fcdadffa3..0f80143f39 100644 --- a/stackrc +++ b/stackrc @@ -240,7 +240,7 @@ WSGI_MODE=${WSGI_MODE:-"uwsgi"} GIT_BASE=${GIT_BASE:-https://opendev.org} # The location of REQUIREMENTS once cloned -REQUIREMENTS_DIR=$DEST/requirements +REQUIREMENTS_DIR=${REQUIREMENTS_DIR:-$DEST/requirements} # Which libraries should we install from git instead of using released # versions on pypi?