From 80e7c6fe1ab05c1fa19f81defb4bb5affbea9c2e Mon Sep 17 00:00:00 2001
From: Olivier Stasse <ostasse@laas.fr>
Date: Thu, 12 Apr 2018 00:19:24 +0200
Subject: [PATCH] [travis] Source setup-opt-robotpkg.sh as .bashrc

---
 travis_custom/Dockerfile            | 2 +-
 travis_custom/setup-opt-robotpkg.sh | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/travis_custom/Dockerfile b/travis_custom/Dockerfile
index 1bc6caf..7524243 100644
--- a/travis_custom/Dockerfile
+++ b/travis_custom/Dockerfile
@@ -10,7 +10,7 @@ RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
 
 USER root
 ADD /travis_custom/sudoers.txt /etc/sudoers
-ADD /travis_custom/setup-opt-robotpkg.sh /etc/profile.d
+ADD /travis_custom/setup-opt-robotpkg.sh /home/docker/.bashrc
 RUN chmod 440 /etc/sudoers
 
 USER docker
diff --git a/travis_custom/setup-opt-robotpkg.sh b/travis_custom/setup-opt-robotpkg.sh
index 891921f..34fa4a9 100755
--- a/travis_custom/setup-opt-robotpkg.sh
+++ b/travis_custom/setup-opt-robotpkg.sh
@@ -1,4 +1,3 @@
-#!/bin/bash
 export ROBOTPKG_BASE=/opt/openrobots
 export PATH=$PATH:$ROBOTPKG_BASE/sbin:$ROBOTPKG_BASE/bin
 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROBOTPKG_BASE/lib:$ROBOTPKG_BASE/lib/plugin:$ROBOTPKG_BASE/lib64
-- 
GitLab