Merge pull request 'make forgejo-runner.sh run out of the source directory' (#59) from earl-warren/setup-forgejo:wip-runner-config into main

Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/59
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
This commit is contained in:
earl-warren 2023-10-11 16:29:38 +00:00
commit 3085b274f0

View file

@ -3,7 +3,8 @@
set -ex
: ${FORGEJO_RUNNER_CONFIG:=$(pwd)/runner-config.yaml}
SELF_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
: ${FORGEJO_RUNNER_CONFIG:=$SELF_DIR/runner-config.yaml}
function dependencies() {
if ! which curl daemon > /dev/null ; then