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

Install script prepends literal "\n" text in .bashrc instead of a newline #51

Open
mkvalor opened this issue Oct 16, 2023 · 0 comments
Open

Comments

@mkvalor
Copy link

mkvalor commented Oct 16, 2023

On my linux computer, when I run

curl -fsSL https://paperspace.com/install.sh | sh

my .bashrc is updated. However, this is the edit I find at the end of my .bashrc file:

\n# Paperspace
export PAPERSPACE_INSTALL="/home/mark/.paperspace"
export PATH="$PAPERSPACE_INSTALL/bin:$PATH"
source <(pspace completion bash)

Notice that the first line is prepended with the literal text "\n", which will result in a shell syntax error at runtime. I haven't yet looked at your source here, but if I had to guess, someone may have used the echo command for this line without also using the option -e which will interpret the literal "\n" as the newline character.

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