Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang
mad
mad-2.3-fix-escript-shebang.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mad-2.3-fix-escript-shebang.patch of Package mad
diff -Ndurp mad-2.3/src/package/mad_escript.erl mad-2.3-fix-escript-shebang/src/package/mad_escript.erl --- mad-2.3/src/package/mad_escript.erl 2017-03-01 05:06:21.031838080 +0200 +++ mad-2.3-fix-escript-shebang/src/package/mad_escript.erl 2017-03-19 23:31:52.264856402 +0200 @@ -12,7 +12,7 @@ main(N) -> end, Files = static() ++ beams(fun filename:basename/1, fun read_file/1) ++ overlay(), % [ io:format("Escript: ~ts~n",[File]) || { File, _ } <- Files ], - escript:create(App,[shebang,{comment,""},{emu_args,EmuArgs},{archive,Files,[memory]}]), + escript:create(App,[{shebang,"/usr/bin/escript"},{comment,""},{emu_args,EmuArgs},{archive,Files,[memory]}]), file:change_mode(App, 8#764), {ok,App}.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor