Fix: Under Windows there is mc command that is Macro Compiler.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 24 Jan 2017 22:18:12 +0200
changeset 816 bbadb46574c4
parent 815 ccdb84df15b7
child 817 257a65e63780
Fix: Under Windows there is mc command that is Macro Compiler.
Makefile
--- a/Makefile	Tue Jan 24 22:14:45 2017 +0200
+++ b/Makefile	Tue Jan 24 22:18:12 2017 +0200
@@ -127,7 +127,7 @@
 	ln -s ~/.xinitrc ~/.xsession
 	rm -f ~/.bash_profile
 	ln -s ~/.bashrc ~/.bash_profile
-	command -v mc || exit 0; \
+	command -v /usr/bin/mc || exit 0; \
 	v=`mc --version | sed 's|.*\([0-9]\+\.[0-9]\+\.[0-9]\+\)$$|\1|;q'`; \
 	vmajor=$${v%%.*}; \
 	vminor=$${v#*.}; \