Source

frawor / test / copyout-postproc.zsh

1
2
3
4
5
6
7
#!/bin/zsh
function copostproc()
{
    [[ ${PREFIX[-4,-1]} == wine ]] && local -x TMPDIR='T:'
    perl -p -i -e 's/\Q$ENV{"TMPDIR"}\E/%TMPDIR%/g' $1
}
copostproc $@