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:
parent
f8e80b2113
commit
4a3a169e03
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user