Commit 3936fb41 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

ci: Fix install script

Check correctly for environment variable $VIRTUAL_ENV;
pass option -N in `setup.py develop'.
parent 4ffce6ff
#!/bin/sh #!/bin/sh
if [ -n $VIRTUAL_ENV ]; then if [ -n "$VIRTUAL_ENV" ]; then
OPTIONS=--script-dir=$VIRTUAL_ENV/bin/ OPTIONS=--script-dir=$VIRTUAL_ENV/bin/
echo $OPTIONS echo $OPTIONS
else else
...@@ -8,13 +8,16 @@ else ...@@ -8,13 +8,16 @@ else
fi fi
set -e set -e
cwd=`dirname $0`
cd "$cwd"/..
. ./ci/config . ./ci/config
# Update version # Update version
python update_version.py devflow-update-version
for project in $PROJECTS; do for project in $PROJECTS; do
cd $project cd $project
python setup.py develop $OPTIONS python setup.py develop -N $OPTIONS
cd - cd -
done done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment