trailofbits / algo

Set up a personal VPN in the cloud
https://blog.trailofbits.com/2016/12/12/meet-algo-the-vpn-that-works/
GNU Affero General Public License v3.0
28.66k stars 2.32k forks source link

Cannot run ./algo from WSL #14660

Open stunlocked94 opened 11 months ago

stunlocked94 commented 11 months ago

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