Make copy of ~/.bash_profile instead symlink as Cygwin installation conflicts
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 11 Jul 2018 18:27:19 +0300
changeset 905 90d1d342a896
parent 904 87a79ec44985
child 906 00b35243abf4
Make copy of ~/.bash_profile instead symlink as Cygwin installation conflicts with WSL: bash: symlink: No such file or directory
Makefile
--- a/Makefile	Wed Jul 11 18:25:46 2018 +0300
+++ b/Makefile	Wed Jul 11 18:27:19 2018 +0300
@@ -141,7 +141,7 @@
 	rm -f ~/.xsession
 	ln -s ~/.xinitrc ~/.xsession
 	rm -f ~/.bash_profile
-	ln -s ~/.bashrc ~/.bash_profile
+	cp ~/.bashrc ~/.bash_profile
 	command -v /usr/bin/mc || exit 0; \
 	v=`/usr/bin/mc --version | sed 's|.*\([0-9]\+\.[0-9]\+\.[0-9]\+\)$$|\1|;q'`; \
 	vmajor=$${v%%.*}; \