www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19451] New: install.sh script assumes bash interpreter, but


          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 puremagic.com
          Reporter: andrew.pennebaker 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

Nov 29 2018