Commit d145bafc authored by garciay's avatar garciay
Browse files

Major bug fixed in devenv.bash.ubuntu: set -e not commented

Enhance scripts
parent 6dd57fc1
Loading
Loading
Loading
Loading
+4 −0
Changes for README.md: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -192,6 +192,10 @@ Pre-requisites:
- Your are logged as 'etsi' or 'vagrant' user

Procedure using Eclipse TITAN:
- Start eclipse using a new workspace, (e.g. with the name workspace_titan)
- Download and follow the steps to install Eclipse plugins for TITAN, accessible [here]{https://www.eclipse.org/downloads/download.php?file=/titan/Eclipse_installationguide.pdf}
- Open the workspace_titan
- Create a new TITAN project (e.g. Its_autoInterop)
<TODO>

Procedure in TITAN command line:
+1 −2
Changes for scripts/devenv.bash.ubuntu: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -2,8 +2,7 @@

# Turn on debug mode
#set -vx

set -e
#set -e

# Colors and Prompt
#export PS1="\w\$ "
+1 −1
Changes for vagrant/Vagrantfile: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ Vagrant.configure("2") do |config|

  # Every Vagrant development environment requires a box. You can search for
  # boxes at https://atlas.hashicorp.com/search.
  config.vm.box = "bento/ubuntu-18.04"
  config.vm.box = "generic/ubuntu1804"

  # Disable automatic box update checking. If you disable this, then
  # boxes will only be checked for updates when the user runs
+1 −6
Changes for vagrant/provisioner.bash: 1 added line, 6 removed lines.
Original line number Diff line number Diff line
@@ -127,11 +127,9 @@ rm -f ./eclipse-cpp-oxygen-2-linux-gtk-x86_64.tar.gz

cd /home/vagrant
echo "" >> /home/vagrant/.bashrc 
echo "export HOME=/home/vagrant" >> /home/vagrant/.bashrc 
echo "export LD_LIBRARY_PATH=/home/vagrant/dev/etsi_its/lib:$LD_LIBRARY_PATH" >> /home/vagrant/.bashrc 
echo "export PATH=/home/vagrant/bin:$PATH" >> /home/vagrant/.bashrc 
echo "cd /home/vagrant" >> /home/vagrant/.bashrc 
echo ". ./devenv.bash" >> /home/vagrant/.bashrc 
echo ". ~/devenv.bash" >> /home/vagrant/.bashrc 

. /home/vagrant/.bashrc
cd /home/vagrant/dev/STF525_Its/scripts
@@ -145,9 +143,6 @@ cd ${HOME}/dev/etsi_its/src/TestCodec/objs

cd ${OLD_PWD}

unset USERNAME
unset PASSWORD

sudo init 6

exit 0