Through trial and error, I discovered that one of the images we use in our services does not come pre-packed with which. While this is a minor inconvenience to change, it took me the better part of a day to realise, that the launch script fails because of that.
Since which is essential for the launch script to function, I wish to ask you to include an error message when which is not available.
Could be as simple as
if ! command -v which &> /dev/null
then
echo "'which' could not be found"
exit
fi
Through trial and error, I discovered that one of the images we use in our services does not come pre-packed with
which
. While this is a minor inconvenience to change, it took me the better part of a day to realise, that the launch script fails because of that.Since
which
is essential for the launch script to function, I wish to ask you to include an error message whenwhich
is not available.Could be as simple as
Launch script
https://github.com/xerial/sbt-pack/blob/master/src/main/twirl/xerial/sbt/pack/launch.scala.txt