Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run ./algo from WSL #14660

Open
stunlocked94 opened this issue Oct 26, 2023 · 0 comments
Open

Cannot run ./algo from WSL #14660

stunlocked94 opened this issue Oct 26, 2023 · 0 comments

Comments

@stunlocked94
Copy link

Describe the bug

After downloading algo and running through the setup i arrived at the final point which is running ./algo
However when i do that i get an error.

To Reproduce

Steps to reproduce the behavior:

  1. Download repo via "git clone https://github.com/trailofbits/algo.git"
  2. Use WSL to do "sudo apt install -y --no-install-recommends python3-virtualenv"
  3. Install Algo's remaining dependencies via WSL
  4. run ./algo

Expected behavior

Setup should start and ask for the usual things to deploy on a server

Additional context

Full log

foo@fooPC:/mnt/c/Users/foo/Documents/algo$ ./algo
./algo: line 2: $'\r': command not found
: invalid optionset: -
set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
./algo: line 4: $'\r': command not found
./algo: line 18: syntax error near unexpected token `$'in\r''
'/algo: line 18: `case "$1" in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant