aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Puigdemont <josep.puigdemont@linaro.org>2016-11-25 10:32:58 +0100
committerJosep Puigdemont <josep.puigdemont@linaro.org>2016-11-25 10:32:58 +0100
commit82af4477934e204b77c8ef78a7eb92aaf4fd5c06 (patch)
treede6f89b3396468549953b42ae00101ce8269994d
parent77b7199c6f1e1b03d777388474c66a93a7632c2b (diff)
invoke_session*: do not override startup files
Change-Id: I6b62c9b4f339e559a2a33bef4fec8b14305e46a3 Signed-off-by: Josep Puigdemont <josep.puigdemont@linaro.org>
-rwxr-xr-xinvoke_session_debian2
-rwxr-xr-xinvoke_session_fedora2
-rwxr-xr-xinvoke_session_oe2
3 files changed, 3 insertions, 3 deletions
diff --git a/invoke_session_debian b/invoke_session_debian
index 90709e0..362400d 100755
--- a/invoke_session_debian
+++ b/invoke_session_debian
@@ -20,7 +20,7 @@ ip_addr=$(ip route get $gateway | awk '/src/{print $NF}')
hostname=$(cat /etc/hostname)
# Set the PATH to use the LAVA api
-echo "export PATH=/lava/bin/:$PATH" > ~/.bashrc
+echo "export PATH=/lava/bin/:$PATH" >> ~/.bashrc
# Are we running under sudo for the real user?
if [ -z "${SUDO_USER}" ]; then
diff --git a/invoke_session_fedora b/invoke_session_fedora
index 99a45d7..ccf04e9 100755
--- a/invoke_session_fedora
+++ b/invoke_session_fedora
@@ -13,7 +13,7 @@ ip_addr=$(ifconfig `ip route get $gateway | cut -d ' ' -f3` | grep 'inet ' | awk
hostname=$(cat /etc/hostname)
# Set the PATH to use the LAVA api
-echo "export PATH=/lava/bin/:$PATH" > ~/.bashrc
+echo "export PATH=/lava/bin/:$PATH" >> ~/.bashrc
echo ""
echo ""
diff --git a/invoke_session_oe b/invoke_session_oe
index 80e2f1e..2a41049 100755
--- a/invoke_session_oe
+++ b/invoke_session_oe
@@ -18,7 +18,7 @@ ip_addr=$(ifconfig `ip route get $gateway | cut -d ' ' -f3` | grep 'inet addr' |
hostname=$(cat /etc/hostname)
# Set the PATH to use the LAVA api
-echo "export PATH=/lava/bin/:$PATH" > ~/.shrc
+echo "export PATH=/lava/bin/:$PATH" >> ~/.shrc
echo ""
echo ""