On Sunday, October 14, 2012 05:21:05 PM Linda Walsh wrote:
> Seriously -- why not just fix it?
> 
> If you think it is broken -- Fix it.

This should fix most scripts.

case $- in
    *e*) exec /bin/sh -c 'cat; rm -f "$1"; exit 1' -- "$BASH_SOURCE" <<-"EOF" 
>&2
    Error: Braindamage detected. Protecting your system.
EOF
esac
-- 
Dan Douglas

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to