1
0
mirror of https://gitcode.com/gitea/gitea.git synced 2025-07-13 12:11:20 +08:00

Merge pull request from clinta/patch-1

Allow start.sh from any working directory
This commit is contained in:
无闻
2015-01-18 14:08:12 +08:00

@ -12,4 +12,4 @@ USER=$(whoami)
HOME=$(grep "^$USER:" /etc/passwd | cut -d: -f6) HOME=$(grep "^$USER:" /etc/passwd | cut -d: -f6)
export USER HOME PATH export USER HOME PATH
cd "$(pwd)" && exec ./gogs web cd "$(dirname "$0")/.." && exec ./gogs web