bash: fix build/clean when srcdir==builddir

Use CLEANFILES to remove the generated symlinks, and just ignore the
errors when copying the scripts in srcdir!=builddir situations.

Followup of commit 40ac54829d4e71b1bac76343872a2674a40c7ac0.