mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Enforce Python 3 in test_hooks/wrapper
This change was not included in the previous commit because the sed command I used included the `/usr/bin/env` path to ensure I don't replace any occurences of the word `python` which I did not wish to replace.
This commit is contained in:
parent
6d2ecaa15c
commit
2931be613b
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ IN="${ORIGINALHOOK}.log.in"
|
|||
OUT="${ORIGINALHOOK}.log.out"
|
||||
|
||||
# Let it know that we were executed
|
||||
echo "% Called at $(python -c 'import time; print(time.time())') with '$@'" >> ${IN}
|
||||
echo "% Called at $(python3 -c 'import time; print(time.time())') with '$@'" >> ${IN}
|
||||
|
||||
# Log what arrives via stdin to ${IN} and what comes via stdout to ${OUT}
|
||||
$ORIGINALHOOK "$@" < <(tee -a ${IN}) > >(tee -a ${OUT})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue