[Issue 19451] New: install.sh script assumes bash interpreter, but FreeBSD does not include bash by default

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 29 23:28:31 UTC 2018


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

          Issue ID: 19451
           Summary: install.sh script assumes bash interpreter, but
                    FreeBSD does not include bash by default
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dlang.org
          Assignee: nobody at puremagic.com
          Reporter: andrew.pennebaker at gmail.com

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?

--


More information about the Digitalmars-d-bugs mailing list