deploy.sh: Make submodules-clean 97/17097/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 18 Jul 2016 20:37:30 +0000 (22:37 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 18 Jul 2016 20:40:29 +0000 (22:40 +0200)
Allow starting ci/deploy.sh multiple times from the same repository.

Change-Id: Ibc9d766640a611ce1d56454096c9f750da956c79
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
ci/deploy.sh

index 8ad1166..40abe67 100755 (executable)
@@ -10,8 +10,7 @@
 set -e
 
 cd $WORKSPACE
-make submodules-init
-make patches-import
+make submodules-clean submodules-init patches-import
 
 # source local environment variables
 if ! [ -z $LAB_CONFIG_URL ]; then