installer icon indicating copy to clipboard operation
installer copied to clipboard

install.sh script assumes bash interpreter, but FreeBSD does not include bash by default

Open dlangBugzillaToGithub opened this issue 7 years ago • 1 comments

n4jm4 reported this on 2018-11-29T23:28:31Z

Transferred from https://issues.dlang.org/show_bug.cgi?id=19451

CC List

  • Vladimir Panteleev (@CyberShadow)

Description

The install.sh script referenced on:

* https://dlang.org/download.html
* https://dlang.org/dmd-freebsd.html

Uses a bash shebang, which does not work out of the box on many UNIX systems, such as FreeBSD, where bash is not installed by default.

Could we rewrite this script in pure POSIX sh, for a more portable UNIX installer?

dlangBugzillaToGithub avatar Nov 29 '18 23:11 dlangBugzillaToGithub