summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2022-02-10 07:15:06 +0100
committerGitHub <noreply@github.com>2022-02-10 07:15:06 +0100
commit7489d96db6daa8e12abf97424b6fcc0b65f5a4bd (patch)
treecf60486a53e79b8e89daa6ab37c135a8422cbdc5 /docker
parenttests: remove redundant comparison in repo dump/restore (#18660) (diff)
downloadforgejo-7489d96db6daa8e12abf97424b6fcc0b65f5a4bd.tar.xz
forgejo-7489d96db6daa8e12abf97424b6fcc0b65f5a4bd.zip
Fix issue with docker-rootless shimming script (#18690)
Diffstat (limited to 'docker')
-rw-r--r--docker/rootless/usr/local/bin/gitea6
1 files changed, 2 insertions, 4 deletions
diff --git a/docker/rootless/usr/local/bin/gitea b/docker/rootless/usr/local/bin/gitea
index 1b33ca8547..9a9a569b12 100644
--- a/docker/rootless/usr/local/bin/gitea
+++ b/docker/rootless/usr/local/bin/gitea
@@ -32,11 +32,9 @@ for i in "$@"; do
done
if [ -z "$APP_INI_SET" ]; then
- CONF_ARG="-c \"${GITEA_APP_INI:-$APP_INI}\""
+ CONF_ARG=("-c" "${GITEA_APP_INI:-$APP_INI}")
fi
# Provide docker defaults
-GITEA_WORK_DIR="${GITEA_WORK_DIR:-$WORK_DIR}" exec -a "$0" "$GITEA" $CONF_ARG "$@"
-
-
+GITEA_WORK_DIR="${GITEA_WORK_DIR:-$WORK_DIR}" exec -a "$0" "$GITEA" "${CONF_ARG[@]}" "$@"