Merge pull request #865 from clinta/patch-1

Allow start.sh from any working directory
tokarchuk/v1.17
无闻 10 years ago
commit 210306bd64
  1. 2
      scripts/start.sh

@ -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

Loading…
Cancel
Save