[Issue 17858] New: install.sh fails when given the -p | --path option
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Sep 26 03:54:01 UTC 2017
https://issues.dlang.org/show_bug.cgi?id=17858
Issue ID: 17858
Summary: install.sh fails when given the -p | --path option
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
Status: NEW
Severity: regression
Priority: P1
Component: installer
Assignee: nobody at puremagic.com
Reporter: jrdemail2000-dlang at yahoo.com
The install.sh script downloaded from https://dlang.org/install.sh fails when
the '-p | --path' option is used. It fails with a message indicating the path
argument is an unrecognized option.
For example, the docker-ldc Dockerfile uses the following sequence:
curl -fsS -o /tmp/install.sh https://dlang.org/install.sh
bash /tmp/install.sh -p /dlang install -s "${COMPILER}-${COMPILER_VERSION}"
The second fails with the error:
Unrecognized command-line parameter: /dlang
This appears to have been recently introduced by installer PR 252:
https://github.com/dlang/installer/pull/252. See comments on the PR for a
description.
--
More information about the Digitalmars-d-bugs
mailing list