-
Notifications
You must be signed in to change notification settings - Fork 234
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
Linux installation fails: bash scripts have literal \n instead of newlines #979
Comments
I'm using fish shell, man echo says:
using bash I get the same:
puzzled how this works for you... |
Interesting... This is what I get in zsh on Ubuntu: acarle@ANDY-SURFACE ~/Projects/moddable cat ./build/bin/lin/debug/mcconfig
#!/bin/bash
DIR=$(cd "$(dirname "$BASH_SOURCE")"; cd -P "$(dirname "$(readlink "$BASH_SOURCE" || echo .)")"; pwd)
$DIR/tools mcconfig "$@" |
A few thoughts.
Perhaps you either have |
It works on ubuntu... (Although I have a headless system and didn't appreciate having 177 packages installed for libgtk-3-dev) |
You're right, This from $ echo -e "Testing\n123"
-e Testing
123 |
then maybe set SHELL=dash in the makefile? It looks like what I built compiles the helloworld fine, but I'm not sure it ran fine. When I ran |
May be another difference with arch — we definitely do most of our Linux testing on Ubuntu. I recommend opening a new issue for that one and I'll get the right person pointed to it. |
I think setting I'll get that change in. |
…nterpretation on systems with non-dash /bin/sh mappings (#979)
Works now. Thanks! |
Build environment: Linux arch
Description
The shell scripts built have literal \n's in them
Steps to Reproduce
The text was updated successfully, but these errors were encountered: