mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-11-19 20:42:50 +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=${i%.org}.tangled
|
||||||
tangled=$(dirname $tangled)/.$(basename $tangled)
|
tangled=$(dirname $tangled)/.$(basename $tangled)
|
||||||
NOW=$(date +"%m%d%H%M.%S")
|
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
|
# Make log file older than the tangled files
|
||||||
touch -t ${NOW} $tangled
|
touch -t ${NOW} $tangled
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user