update readme

This commit is contained in:
life
2014-12-07 22:02:01 +08:00
parent c49593171c
commit 25d5df6bfc
3 changed files with 42 additions and 14 deletions

View File

@ -2,12 +2,12 @@
SCRIPTPATH=$(cd "$(dirname "$0")"; pwd)
# set link
#
#path="$SCRIPTPATH/src/github.com/leanote"
#if [ ! -d "$path" ]; then
# mkdir -p "$path"
#fi
# ln -s ../../../../ $SCRIPTPATH/src/github.com/leanote/leanote
path="$SCRIPTPATH/src/github.com/leanote"
if [ ! -d "$path" ]; then
mkdir -p "$path"
fi
ln -s ../../../../ $SCRIPTPATH/src/github.com/leanote/leanote
# set GOPATH
export GOPATH=$GOPATH:$SCRIPTPATH