From fb37c96a3b6203413afbb09879e187524f3e0cf9 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 23 Jul 2019 10:22:11 +0200 Subject: [PATCH] Try exec | tee --- netpfga/do-all-steps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netpfga/do-all-steps.sh b/netpfga/do-all-steps.sh index 6f6448a..202da83 100755 --- a/netpfga/do-all-steps.sh +++ b/netpfga/do-all-steps.sh @@ -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