Doodle3D / openwrt-buildroot-example

Example docker environment for building images for a specific project.
MIT License
17 stars 8 forks source link

Use shell script instead of bash? #14

Open peteruithoven opened 9 years ago

peteruithoven commented 9 years ago

Since we didn't understand the differences between bash and shell in the processes we used some bash specific code. The following post advocates writing for sh. http://stackoverflow.com/questions/5725296/difference-between-sh-and-bash/5725402#5725402

For example, we're writing functions the bash way (with function ...) instead of the shell way, see: http://viralpatel.net/blogs/writing-functions-in-shell-script/

woutgg commented 8 years ago

This checkbashisms script might come in handy.