mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-01 10:09:50 +00:00
15 lines
259 B
Bash
Executable File
15 lines
259 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [[ "${1:0:1}" = '-' ]]; then
|
|
# assume $1 is renovate flag
|
|
set -- renovate "$@"
|
|
fi
|
|
|
|
if [[ ! -x "$(command -v "${1}")" ]]; then
|
|
# assume $1 is a repo
|
|
set -- renovate "$@"
|
|
fi
|
|
|
|
# call the original entrypoint
|
|
exec docker-entrypoint.sh "$@"
|