From 4512b250e725ff77883e8b445e3571d0d0738d51 Mon Sep 17 00:00:00 2001
From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Date: Mon, 18 Jul 2016 22:37:30 +0200
Subject: deploy.sh: Make submodules-clean

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 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'ci')

diff --git a/ci/deploy.sh b/ci/deploy.sh
index 8ad11663..40abe67d 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -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
-- 
cgit