mirror of
https://github.com/go-gitea/gitea
synced 2024-12-24 03:35:55 +01:00
Merge pull request #865 from clinta/patch-1
Allow start.sh from any working directory
This commit is contained in:
commit
210306bd64
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user