Commit 2e231bb7 authored by Tristan Cavelier's avatar Tristan Cavelier Committed by Rafael Monnerat

onlyoffice-x2t: fix current working directory issue

parent ca88cf90
...@@ -22,7 +22,6 @@ script = ...@@ -22,7 +22,6 @@ script =
wrapper_location = os.path.join("%(location)s", "x2t") wrapper_location = os.path.join("%(location)s", "x2t")
wrapper = open(wrapper_location, 'w') wrapper = open(wrapper_location, 'w')
wrapper.write('''#!${dash:location}/bin/dash wrapper.write('''#!${dash:location}/bin/dash
cd %(location)s
export LD_LIBRARY_PATH=%(location)s/lib:${curl:location}/lib export LD_LIBRARY_PATH=%(location)s/lib:${curl:location}/lib
exec %(location)s/bin/x2t "$@"''') exec %(location)s/bin/x2t "$@"''')
wrapper.close() wrapper.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment