Fixing build problems jenkins-baltrad-db-408
authorAnders Henja <anders@henjab.se>
Thu, 8 Feb 2018 20:06:40 +0000 (21:06 +0100)
committerAnders Henja <anders@henjab.se>
Thu, 8 Feb 2018 20:06:40 +0000 (21:06 +0100)
misc/hudsonbuild.sh

index 0a140b0..63a63a5 100644 (file)
@@ -7,7 +7,6 @@ PREFIX=/home/hudson/installed/baltrad/db-devel
 create_env() {
   envpath=$1
   python $PROJECT_ROOT/misc/virtualenv/virtualenv.py \
-    --distribute \
     --system-site-packages \
     $envpath
 }
@@ -16,8 +15,7 @@ init_env() {
   envpath=$1
 
   if [ -e $envpath ]; then
-    echo "env already exists at $envpath"
-  else
+    \rm -fr "$envpath"
     create_env $envpath
   fi