[packages/erlang-rebar] fix shebangs

atler atler at pld-linux.org
Mon Nov 11 02:35:42 CET 2024


commit 2a621c64ce24a9ff55cea8bd1cb8d454a9c61ef3
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Nov 9 01:23:48 2024 +0100

    fix shebangs

 erlang-rebar.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/erlang-rebar.spec b/erlang-rebar.spec
index a9f2730..d816812 100644
--- a/erlang-rebar.spec
+++ b/erlang-rebar.spec
@@ -29,6 +29,10 @@ Erlang Build Tools.
 mv rebar-rebar-*/* .
 %{__rm} -r rebar-rebar-*
 
+%{__sed} -i -e '1s,/usr/bin/env escript,/usr/bin/escript,' \
+	priv/templates/simplenode.install_upgrade.escript \
+	priv/templates/simplenode.nodetool
+
 %build
 %if %{with bootstrap}
 ./bootstrap
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/erlang-rebar.git/commitdiff/ef67d95edcf819d5c7e92cde2358724e80d9bb8f



More information about the pld-cvs-commit mailing list