[Issue 21059] install.sh: posix_terminal returns false on Linux Mint 20

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 20 18:39:40 UTC 2020


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

Bastiaan Veelo <Bastiaan at Veelo.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Bastiaan at Veelo.net

--- Comment #2 from Bastiaan Veelo <Bastiaan at Veelo.net> ---
Confirmed:

$ curl -fsS https://dlang.org/install.sh | bash -s dmd
main: line 178: USERPROFILE: unbound variable

Workaround:

$ wget https://dlang.org/install.sh
$ chmod +x install.sh
$ ./install.sh 
$ source ~/dlang/dmd-2.093.0/activate
$ dmd --version
DMD64 D Compiler v2.093.0
Copyright (C) 1999-2020 by The D Language Foundation, All Rights Reserved
written by Walter Bright

So the pipe into bash does not seem to increment $SHLVL.

--


More information about the Digitalmars-d-bugs mailing list