mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-04 01:14:17 +03:00
044cd3d806
...on systems that have no /bin/cat (like NixOS). When opening .diff or .patch files mcview invokes /bin/cat. NixOS has no /bin/cat (the path to cat looks like /run/current-system/sw/bin/cat). However cat is still in PATH, so replace /bin/cat with just cat. This should not affect other systems as /bin should normally be in PATH. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>