1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-12-22 04:14:49 +01:00

Less verbose output when tangling

This commit is contained in:
Anthony Scemama 2021-10-14 18:57:40 +02:00
parent f8e80b2113
commit 4a3a169e03

View File

@ -35,8 +35,12 @@ do
tangled=${i%.org}.tangled
tangled=$(dirname $tangled)/.$(basename $tangled)
NOW=$(date +"%m%d%H%M.%S")
tangle ${i} > $tangled
tangle ${i} &> $tangled
rc=$?
if [[ $rc -ne 0 ]] ; then
cat $tangled
exit rc
fi
# Make log file older than the tangled files
touch -t ${NOW} $tangled
done