add tee to do-all-steps
This commit is contained in:
parent
37de257a7d
commit
ddf8ff230a
1 changed files with 4 additions and 2 deletions
|
@ -7,8 +7,8 @@ echo "First source all variables and THEN run this script"
|
|||
read something
|
||||
|
||||
LOG=~/master-thesis/netpfga/log/compile-$(date +%F-%H%M%S)
|
||||
exec > "$LOG"
|
||||
exec 2>&1
|
||||
|
||||
(
|
||||
|
||||
# Step 1..3: create code
|
||||
# Step 4:
|
||||
|
@ -72,3 +72,5 @@ cd $NF_DESIGN_DIR/bitfiles/
|
|||
# some scripts are, some scripts aren't executable...
|
||||
chmod u+x $(pwd -P)/program_switch.sh
|
||||
sudo bash -c ". $HOME/master-thesis/netpfga/bashinit && $(pwd -P)/program_switch.sh"
|
||||
|
||||
) 2>&1 | tee "$LOG"
|
||||
|
|
Loading…
Reference in a new issue