build-for-ubcd.sh: multiple improvements:
It no longer create package when error is occurred.
It handles signals like ^C (and restore the xfprot dir).
Uses $xfprot_dir variable.