summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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