libretro/libretro-super — pull request #34 by SnoFox (2013-12-09 01:16:34+00:00)
Title: Convert all hashbangs to point to bash, not whatever happens to be the distro's default shell

tl;dr: This makes your build system work easily on any Debian-based systems.

Debian-based systems' (Debian, Ubuntu, Mint, etc) /bin/sh leads to dash which does NOT support the Bashisms you are using in all your scripts (chiefly, double-square-bracket comparisons).