Makefile
changeset 965 136643324a32
parent 964 e0451bc7141f
child 966 fdb61fbcca35
--- 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/