Stop calling find for simple operations. Just use extglob.
Additionally use `cp -a` consistently rather than alternating between `cp -a` and `cp -r`, and don't fail compile if the glob doesn't expand to anything.
Please register or sign in to comment