This will not work when the project does not have sample files, and I guess it's worth to cover this scenario. If the shell can't perform the globbing in `config/*.sample`, the `sample` variable will be assigned to `config/*.sample` literally, causing an unexpected error.

Therefore, I prefer an approach similar to:

~~~sh
for sample in $(find config -type f -maxdepth 1 -name '*.sample'); do
  cp "$sample" "${sample%.*}"
done
~~~

I know this is more complex, but this is for the general idea of the bootstrap script not breaking unexpectedly and working across multiple projects.

Note that quotes on the `cp` command: always good to quote variables whose value you don't know.