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