Commit d96121fa authored by Jørgen Lien Sellæg's avatar Jørgen Lien Sellæg
Browse files

update to multiline echo and set shebangs to /bin/sh

parent 67289736
Pipeline #193859695 passed with stages
in 17 minutes and 18 seconds
......@@ -11,8 +11,8 @@ Install language server, and create executable to enable server in juCi++:
npm install -g flow-bin
# usually as root:
echo -e '#!`which sh`\nflow lsp' > /usr/local/bin/javascript-language-server
echo '#!/bin/sh
flow lsp' > /usr/local/bin/javascript-language-server
chmod 755 /usr/local/bin/javascript-language-server
```
......@@ -30,7 +30,8 @@ Install language server, and create executable to enable server in juCi++:
npm install -g typescript-language-server typescript
# usually as root:
echo -e '#!`which sh`\n`npm root -g`/typescript-language-server/lib/cli.js --stdio' > /usr/local/bin/javascript-language-server
echo '#!/bin/sh
`npm root -g`/typescript-language-server/lib/cli.js --stdio' > /usr/local/bin/javascript-language-server
chmod 755 /usr/local/bin/javascript-language-server
rm -f /usr/local/bin/typescript-language-server
......@@ -88,6 +89,7 @@ cmake ..
make
# usually as root:
make install
echo -e "#!`which sh`\n/usr/local/bin/glslls --stdin" > /usr/local/bin/glsl-language-server
echo '#!/bin/sh
/usr/local/bin/glslls --stdin' > /usr/local/bin/glsl-language-server
chmod 755 /usr/local/bin/glsl-language-server
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment