From 913425c4121d9767e0f08e070a1756bbffd874bd Mon Sep 17 00:00:00 2001
From: Erik Alexandre Pucci <eap08@c3sl.ufpr.br>
Date: Wed, 23 Mar 2011 16:19:02 -0300
Subject: [PATCH] bootstrap-update: Changed hardcoded value of $SEED_MEC_HOME
 for $HOME

The update is expected to be executed by the same user that ran the agent.sh
(seed_mec). So, this change allows the agent to be installed in other places
instead of the predefined "/opt/seed_mec".

Signed-off-by: Erik Alexandre Pucci <eap08@c3sl.ufpr.br>
Acked-by: Danilo K. S. Yorinori <danilok@c3sl.ufpr.br>
---
 bootstraps/bootstrap-update | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bootstraps/bootstrap-update b/bootstraps/bootstrap-update
index 68e798d..89e7652 100644
--- a/bootstraps/bootstrap-update
+++ b/bootstraps/bootstrap-update
@@ -27,7 +27,7 @@ FILE=
 MD5_CHECK=
 BOOTSTRAP_LINES=
 
-SEED_MEC_HOME="/opt/seed_mec"
+SEED_MEC_HOME=${HOME}
 UPDATE_DIR="update/tmp/SEED2-run"
 
 # This function shows some error message and aborts execution
-- 
GitLab