Try exec | tee
This commit is contained in:
parent
1059e8d0e0
commit
fb37c96a3b
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ 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 | tee "$LOG"
|
||||
exec 2>&1
|
||||
|
||||
# Step 1..3: create code
|
||||
|
|
Loading…
Reference in a new issue