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 ` 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/
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 devflow-update-version
for project in $PROJECTS; do for project in $PROJECTS; do
cd $project cd $project
python develop $OPTIONS python 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