Make sure the rm command and not a wrapper function that could change its behaviour is used. This patch was written by David Bitseff.

darcs-hash:20061212122853-ac50b-4f3c9962bc6daed95c8f53a19af05bc3d924eac7.gz
This commit is contained in:
axel 2006-12-12 22:28:53 +10:00
parent 234034d302
commit d3dd9400e3

View file

@ -48,6 +48,6 @@ function psub -d (N_ "Read from stdin into a file and output the filename. Remov
end
# Make sure we erase file when caller exits
eval function $funcname --on-job-exit caller\; rm $filename\; functions -e $funcname\; end
eval function $funcname --on-job-exit caller\; command rm $filename\; functions -e $funcname\; end
end