asciidoctor / asciidoctor-stylesheet-factory

!DEPRECATED! This was the utility project for producing the default stylesheet for the HTML converter in Asciidoctor. The source of the default stylesheet now lives in the main Asciidoctor repository.
Other
175 stars 87 forks source link

build-stylesheet.sh: Support bash in any location #41

Closed roberth closed 4 years ago

roberth commented 5 years ago

Hi, first of all, thanks for creating asciidoctor, it's pretty neat!

To quote https://stackoverflow.com/questions/21612980/why-is-usr-bin-env-bash-superior-to-bin-bash

/usr/bin/env searches PATH for bash, and bash is not always in /bin, particularly on non-Linux systems. For example, on my OpenBSD system, it's in /usr/local/bin, since it was installed as an optional package.

mojavelinux commented 5 years ago

This script doesn't use any features that are specific to bash. Would it work if we changed the shebang to #!/bin/sh?

roberth commented 5 years ago

Yes, that would work.

mojavelinux commented 5 years ago

Can you update the PR?

mojavelinux commented 4 years ago

Resolved by c5c597b7672fca04376691b585b525592dbf588f