Tweak executing shell scripts for test installation of ert and erlang-mode