Merge branch 'master' of gitlab.ethz.ch:nicosc/master-thesis

This commit is contained in:
Nico Schottelius 2019-07-23 12:33:11 +02:00
commit a6490faca4
1 changed files with 4 additions and 2 deletions

View File

@ -7,8 +7,8 @@ echo "First source all variables and THEN run this script"
read something read something
LOG=~/master-thesis/netpfga/log/compile-$(date +%F-%H%M%S) LOG=~/master-thesis/netpfga/log/compile-$(date +%F-%H%M%S)
exec > "$LOG"
exec 2>&1 (
# Step 1..3: create code # Step 1..3: create code
# Step 4: # Step 4:
@ -72,3 +72,5 @@ cd $NF_DESIGN_DIR/bitfiles/
# some scripts are, some scripts aren't executable... # some scripts are, some scripts aren't executable...
chmod u+x $(pwd -P)/program_switch.sh chmod u+x $(pwd -P)/program_switch.sh
sudo bash -c ". $HOME/master-thesis/netpfga/bashinit && $(pwd -P)/program_switch.sh" sudo bash -c ". $HOME/master-thesis/netpfga/bashinit && $(pwd -P)/program_switch.sh"
) 2>&1 | tee "$LOG"