From 510da5d1366f6739882e00eef34b7bfa97235d52 Mon Sep 17 00:00:00 2001
From: Edileuton Henrique de Oliveira <eho09@c3sl.ufpr.br>
Date: Thu, 17 Jul 2014 10:37:04 -0300
Subject: [PATCH] build: Remove the scripts from the previous installation

Signed-off-by: Edileuton Henrique de Oliveira <eho09@c3sl.ufpr.br>
---
 build/bootstraps/bootstrap-update.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/bootstraps/bootstrap-update.sh b/build/bootstraps/bootstrap-update.sh
index bc8603c..964d39b 100755
--- a/build/bootstraps/bootstrap-update.sh
+++ b/build/bootstraps/bootstrap-update.sh
@@ -140,7 +140,7 @@ mv -f "${SEED_MEC_HOME}/update/tmp/SEED2-run/"{.md5*,.back*}* \
       "${SEED_MEC_HOME}/SEED2/"
 
 # Copy the files themself
-rm -rf "${SEED_MEC_HOME}/SEED2/"{bin,lib,net,client,extra,network-scripts,scripts} &> /dev/null
+rm -rf "${SEED_MEC_HOME}/SEED2/"{*.sh,bin,lib,net,client,extra,network-scripts,scripts} &> /dev/null
 mv -f "${SEED_MEC_HOME}/update/tmp/SEED2-run/"* \
       "${SEED_MEC_HOME}/SEED2/"
 
-- 
GitLab