leon icon indicating copy to clipboard operation
leon copied to clipboard

Use a more portable shebang

Open earldouglas opened this issue 7 years ago • 3 comments

Since the bash binary is not always located in /bin, the leon script doesn't always run.

This change makes the script more portable, so leon will run on more systems.

earldouglas avatar Nov 12 '17 17:11 earldouglas

Tested on NixOS.

earldouglas avatar Nov 12 '17 17:11 earldouglas

Looking at the potential disadvantages of this, it seems that none really matter for Leon. :+1:

mantognini avatar Nov 13 '17 10:11 mantognini

It seems like we already have it in Stainless and nobody has complained yet, so it's probably fine. We still need to add it in Inox though.

samarion avatar Nov 13 '17 10:11 samarion