Commit Graph
3 Commits
Author SHA1 Message Date
Ruslan Garipov 42c9b269f0 Make ``find'' scripts compatible w/ the Bourne sh
By default FreeBSD does not have the Bourne-again shell (Bash)
installed.  Therefore, the system fails to execute two ``find'' scripts
(etc/scripts/find-node and etc/scripts/find-yarn) running by the
Makefile within the `.node-bin` and `.yarn-bin` targets.

I see nothing Bash-specific in those scripts.  Also I believe that
`[[ expression ]]` commands in those particular cases can be safely
replaced with the `test` built-in commands.

With these changes I can now run a local ``Compiler explorer'' instance
on FreeBSD.

Signed-off-by: Ruslan Garipov <ruslanngaripov@gmail.com>
2019-01-31 20:24:00 +05:00
Matt Godbolt d92ef4f2b6 Prevent creation of an empty .node-bin or .yarn-bin if the version check fails. Helps with #850 2018-03-05 08:14:17 -06:00
Matt Godbolt f8468e5d92 Use a local-installed yarn. Refactor all the 'find node' stuff out of the Makefile 2018-02-10 17:10:56 -06:00