mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-10 04:05:42 +01:00
Fix issue with docker-rootless shimming script (#18690)
This commit is contained in:
parent
bc8e19ece1
commit
7489d96db6
2 changed files with 4 additions and 8 deletions
|
@ -33,10 +33,8 @@ for i in "$@"; do
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -z "$APP_INI_SET" ]; then
|
if [ -z "$APP_INI_SET" ]; then
|
||||||
CONF_ARG="-c \"$APP_INI\""
|
CONF_ARG=("-c" "${GITEA_APP_INI:-$APP_INI}")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Provide FHS compliant defaults
|
# Provide FHS compliant 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[@]}" "$@"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -32,11 +32,9 @@ for i in "$@"; do
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -z "$APP_INI_SET" ]; then
|
if [ -z "$APP_INI_SET" ]; then
|
||||||
CONF_ARG="-c \"${GITEA_APP_INI:-$APP_INI}\""
|
CONF_ARG=("-c" "${GITEA_APP_INI:-$APP_INI}")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Provide docker defaults
|
# 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[@]}" "$@"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue