Update bin/diagnostic

In `#!/bin/sh` the echo command does not accept any options. It will just print "-e" on the screen. [0]
With bash there would be no problem and is probably also installed by all contributors.

sbt is weird. sbt doesn't use the commonly used version option, but an sbt command. 
Maybe checking that sbt is installed with `which sbt` would even be sufficient, as sbt downloads the appropriate version for the project anyway.

[0] https://www.unix.com/man-page/posix/1posix/echo/
pull/7668/head
Saskia Gennrich 2020-12-02 20:36:16 +01:00 committed by GitHub
parent 616417a2c7
commit 792d8b4d44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
MONGO_PORT=27017
REDIS_PORT=6379
@ -9,7 +9,7 @@ LILA_FISHNET_PORT=9665
SEPARATOR="\n\n=========================================\n\n"
echo -e "Java version: $(java --version)\n"
echo -e "SBT version: $(sbt --version)\n"
echo -e "SBT version: $(sbt sbtVersion)\n"
echo -e "Node version: $(node --version)\n"
echo -e "Yarn version: $(yarn --version)\n"