我在Mac上预安装了svn,路径为-/usr/bin/svn。我还通过MacPort安装了svn,路径为-->/opt/local/var/macports/software/subversion/1.6.3_0/opt/local。我的.bash_profile文件如下:
export M2_HOME=/Users/teoh/work/maven export M2=$M2_HOME/bin export PATH=$M2:$PATH
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home export PATH=/Users/teoh/work/gwt-mac-1.5.3:$PATH
如何将MacPort的svn设置为默认的svn,在每次使用Mac控制台时都生效?我需要在.bash_profile中添加什么内容?
export M2_HOME=/Users/teoh/work/maven export M2=$M2_HOME/bin export PATH=$M2:$PATH
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home export PATH=/Users/teoh/work/gwt-mac-1.5.3:$PATH
如何将MacPort的svn设置为默认的svn,在每次使用Mac控制台时都生效?我需要在.bash_profile中添加什么内容?