# HG changeset patch # User Oleksandr Gavenko # Date 1610105435 -7200 # Node ID 136643324a32411a8864d5a84f7e0aec4c72a5d5 # Parent e0451bc7141f1d8b840356039748bb570bca97f4 Do not alter working directory. diff -r e0451bc7141f -r 136643324a32 Makefile --- a/Makefile Fri Jan 08 13:28:42 2021 +0200 +++ b/Makefile Fri Jan 08 13:30:35 2021 +0200 @@ -160,9 +160,8 @@ cat .config/mc/mc.ext /etc/mc/mc.ext > $(HOME)/.config/mc/mc.ext ifneq '' '$(filter $(host_os),cygwin linux)' if command -v file 1>/dev/null; then - $(INSTALL_DATA) .magic $(HOME) - cd $(HOME) - file --compile -m .magic + $(INSTALL_DATA) -t $(HOME) .magic + ( cd $(HOME); file --compile -m .magic ) fi endif mkdir -p $(HOME)/.local/share/applications/