Update system paths to system binaries
[termux-packages] / packages / mc / main.c.patch
index e34707a..1451f7d 100644 (file)
@@ -6,7 +6,7 @@ diff -u -r ../mc-4.8.12/src/main.c ./src/main.c
      {
          g_free (mc_global.tty.shell);
 -        mc_global.tty.shell = g_strdup ("/bin/sh");
-+        mc_global.tty.shell = g_strdup ("/system/bin/sh");
++        mc_global.tty.shell = g_strdup ("@TERMUX_PREFIX@/bin/sh");
      }
  
      /* This is the directory, where MC was installed, on Unix this is DATADIR */