aws / aws/aws-elastic-beanstalk-cli-setup

Linux installation fails due to scripts having been saved on Windows

Open
#83 5 comments 0 reactions 0 assignees View on GitHub
bug enhancement
Dominant language
Python
Stars
537
Forks
226
PR merge metrics
No merged PRs in 30d

Description

**1. Please specify the following:**
- OS: OpenSuSE 15.1
- Shell (Bash, PowerShell, Zsh, etc.):Bash

- [X] **I have reviewed the troubleshooting tips described [here]() and they do not solve my problem**

**2. Description**
The instruction for installation, step 2.2, is to run ./aws-elastic-beanstalk-cli-setup/scripts/bundled_installer . However, this script seems to have been saved using a Windows editor. Which mean that the script does not run in Linux due to the EOL return character:

~/Documents/ebcli> ./aws-elastic-beanstalk-cli-setup/scripts/bundled_installer
/usr/bin/env: ‘bash\r’: No such file or directory

This can be overcome by applying dos2unix. However, the installer installs a temporary python version and the script for that has the same problem.

Contributor guide

Open the contributing guide

Research direction

Start with aws-elastic-beanstalk-cli-setup/scripts/bundled_installer and reproduce the installation on OpenSuSE 15.1 using Bash. Inspect the installer and the temporary Python installation script for Windows line endings; done means the documented installation completes on Linux without /usr/bin/env or bash\r errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.