Fix propose_update.sh
The propose-requirements-updates was failing since we essentially call virtualenv `mktemp` - but mktemp creates a file and virtualenv expects a directory. Add -d to mktemp invocation to create a directory. Change-Id: I358bd2c42d698de4d7863ac08318d46a4524e32b
This commit is contained in:
parent
344bdf1faf
commit
345391e273
@ -23,7 +23,7 @@ if [ "$OWN_PROJECT" == "requirements" ] ; then
|
||||
INITIAL_COMMIT_MSG="Updated from global requirements"
|
||||
TOPIC="openstack/requirements"
|
||||
PROJECTS=$(cat projects.txt)
|
||||
VENV=$(mktemp)
|
||||
VENV=$(mktemp -d)
|
||||
trap "rm -rf $VENV" EXIT
|
||||
virtualenv $VENV
|
||||
$VENV/bin/pip install -e .
|
||||
@ -41,7 +41,7 @@ elif [ "$OWN_PROJECT" == "requirements-constraints" ] ; then
|
||||
INITIAL_COMMIT_MSG="Updated from generate-constraints"
|
||||
TOPIC="openstack/requirements/constraints"
|
||||
PROJECTS=openstack/requirements
|
||||
VENV=$(mktemp)
|
||||
VENV=$(mktemp -d)
|
||||
trap "rm -rf $VENV" EXIT
|
||||
virtualenv $VENV
|
||||
$VENV/bin/pip install -e .
|
||||
|
Loading…
x
Reference in New Issue
Block a user