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
parent
616417a2c7
commit
792d8b4d44
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue