diff --git a/.gitignore b/.gitignore index cb36bec..48cb749 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ src pkg +bin2 bin/i18n bin/release bin/tmp diff --git a/bin/run.sh b/bin/run.sh index f1eb4dc..fe5b8db 100644 --- a/bin/run.sh +++ b/bin/run.sh @@ -14,7 +14,9 @@ export GOPATH=$GOPATH:$SCRIPTPATH # run osName=`uname` if [ $osName == "Darwin" ]; then + chmod 777 "$SCRIPTPATH/leanote-mac" "$SCRIPTPATH/leanote-mac" -importPath github.com/leanote/leanote else + chmod 777 "$SCRIPTPATH/leanote-linux" "$SCRIPTPATH/leanote-linux" -importPath github.com/leanote/leanote -fi +fi \ No newline at end of file