Source

frawor / test / gentests-expand-tmpdir.zsh

1
2
3
4
#!/bin/zsh
[[ ${TESTTYPE[-4,-1]} == wine ]] && export TMPDIR='T:'
perl -p -i -e 's/%TMPDIR%/$ENV{"TMPDIR"}/g' *.ok