#! /bin/sh if escript_path=$(command -v escript) then echo "Using escript found at $escript_path" escript install.escript else echo "Could not locate an Erlang installation." fi