Apex: remove any leftover tmp .build dir 41/41641/1
authorTim Rozet <trozet@redhat.com>
Mon, 11 Sep 2017 23:59:10 +0000 (19:59 -0400)
committerTim Rozet <trozet@redhat.com>
Mon, 11 Sep 2017 23:59:10 +0000 (19:59 -0400)
Change-Id: Icac677ac9e17b4b4ae4e7fc82139587cc201bcb6
Signed-off-by: Tim Rozet <trozet@redhat.com>
jjb/apex/apex-deploy.sh

index a47e3a5..6de12d4 100755 (executable)
@@ -50,6 +50,7 @@ if [[ "$ARTIFACT_VERSION" =~ dev ]]; then
 
   # Install dev build
   mkdir -p ~/tmp
+  rm -rf ~/tmp/.build
   mv -f .build ~/tmp/
   sudo pip3 install --upgrade --force-reinstall .
   mv -f ~/tmp/.build .