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: [email protected]
Reporter: [email protected]
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.
--