The template SlackBuild scripts use /bin/sh which, on a default Slackware installation, is a symlink to /bin/bash. When
bash is called as sh it works as a close approximation of the POSIX shell which is a superset of the Bourne shell.
Recently there was an inconclusive debate on the SlackBuild mailing list about whether to allow SlackBuild scripts using /bin/bash