summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2015-01-18 22:26:21 +0800
committerUnknwon <joe2010xtmf@163.com>2015-01-18 22:26:21 +0800
commitbe8bdc03932f336fc440aa12a0cbd851345e56f1 (patch)
treeb914afae7a911495e704af3546a69ddf64f842f0
parent9fa287e4f78d0c701a6746cb546d9008c6625fd4 (diff)
parent210306bd64e5784bc27dc2de2935a57abe91a66f (diff)
downloadgitea-be8bdc03932f336fc440aa12a0cbd851345e56f1.tar.gz
gitea-be8bdc03932f336fc440aa12a0cbd851345e56f1.zip
Merge branch 'master' of github.com:gogits/gogs
-rwxr-xr-xscripts/start.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/start.sh b/scripts/start.sh
index 85de4556ff..997b5fc272 100755
--- a/scripts/start.sh
+++ b/scripts/start.sh
@@ -12,4 +12,4 @@ USER=$(whoami)
HOME=$(grep "^$USER:" /etc/passwd | cut -d: -f6)
export USER HOME PATH
-cd "$(pwd)" && exec ./gogs web
+cd "$(dirname "$0")/.." && exec ./gogs web