convert bootstrap.sh to POSIX (untested)

It is not safe to rely on bash existing, let alone /bin/bash being the location of the binary.

It is considered unsafe to script ls.  This is why find exists.

Quote all files.

Convert bootstrap.sh to POSIX sh
I thought the `$(...)` construction was a bash-ism. Don't you have to use backquotes in plain shell?