termux-packages/packages/ranger/ranger-config-commands.py.p...

13 lines
659 B
Diff
Raw Normal View History

2020-01-02 21:38:44 +01:00
diff -u -r ../ranger-1.9.3/ranger/config/commands.py ./ranger/config/commands.py
--- ../ranger-1.9.3/ranger/config/commands.py 2019-12-31 15:07:45.000000000 +0000
+++ ./ranger/config/commands.py 2020-01-02 20:34:53.030269000 +0000
@@ -1184,7 +1184,7 @@
script_was_edited = (script_content != cmdfile.read())
# Do the renaming
- self.fm.run(['/bin/sh', cmdfile.name], flags='w')
+ self.fm.run(['@TERMUX_PREFIX@/bin/sh', cmdfile.name], flags='w')
# Retag the files, but only if the script wasn't changed during review,
# because only then we know which are the source and destination files.