From b7748997d5e588e8d326909f5a998177cca2413b Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 23 Jul 2019 16:28:19 +0200 Subject: [PATCH] Add suffixing to do-all-steps --- netpfga/do-all-steps.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/netpfga/do-all-steps.sh b/netpfga/do-all-steps.sh index b3268c8..095743b 100755 --- a/netpfga/do-all-steps.sh +++ b/netpfga/do-all-steps.sh @@ -6,7 +6,12 @@ set -x echo "First source all variables and THEN run this script" read something -LOG=~/master-thesis/netpfga/log/compile-$(date +%F-%H%M%S) +SUFFIX="" +if [ $# -ge 1 ]; then + SUFFIX="-$1" +fi + +LOG=~/master-thesis/netpfga/log/compile-$(date +%F-%H%M%S)$SUFFIX (