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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 21 21:48:21 UTC 2020


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/installer pull request #463 "Fixes issue 21059: installer fails when
piped on Posix." was merged into stable:

- 719ebf6f472b2b2d58b56fef2aebbf530cc5bcf3 by Bastiaan Veelo:
  Fixes issue 21059.

  The assumption that $SHLVL increases when the script is run does not always
hold. $SHLVL does not increase if the script is piped into bash, thereby
failing to detect Posix. If the default terminal shell is not bash, $SHLVL
might also be 1 on Posix.

https://github.com/dlang/installer/pull/463

--


More information about the Digitalmars-d-bugs mailing list