termux-packages/packages/ranger/ranger.patch

13 lines
531 B
Diff
Raw Normal View History

2015-06-13 01:03:31 +02:00
diff -u -r ../ranger-1.7.0/ranger/ext/rifle.py ./ranger/ext/rifle.py
--- ../ranger-1.7.0/ranger/ext/rifle.py 2015-04-13 18:25:24.000000000 -0400
+++ ./ranger/ext/rifle.py 2015-04-25 04:10:19.259100887 -0400
@@ -341,7 +341,7 @@
if 'r' in flags:
prefix = ['sudo', '-E', 'su', '-mc']
else:
- prefix = ['/bin/sh', '-c']
+ prefix = ['@TERMUX_PREFIX@/bin/sh', '-c']
2015-06-13 01:03:31 +02:00
cmd = prefix + [command]
if 't' in flags: