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

Cloud9 vs Nitrous #47

Open
chris-parker opened this issue Feb 3, 2016 · 0 comments
Open

Cloud9 vs Nitrous #47

chris-parker opened this issue Feb 3, 2016 · 0 comments

Comments

@chris-parker
Copy link

I've found an issue with stage 13. As Cloud9 and Nitrous have different lists of environmental variables my code won't run properly on Cloud9 but it works on Nitrous. Because Cloud9's list of variables includes multi-line code variables:

BASH_FUNC__gnomeopen%%=() {  if [ -e "$@" ]; then
 c9 "$@";
 return;
 fi;
 command xdg-open "$@"
}

and

BASH_FUNC__xdgopen%%=() {  if [ -e "$@" ]; then
 c9 "$@";
 return;
 fi;
 command xdg-open "$@"
}

if you run sort on env it returns:

c9 "$@";
 c9 "$@";
 command xdg-open "$@"

as the first three results, and despite much Googling I couldn't find a way to get sort to treat the variables as one block each (though I assume there is a way to do this).

However as Nitrous only has single-line variables I can run sort on env and it works perfectly fine and gives me the right result.

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