mirror of
https://github.com/renovatebot/renovate.git
synced 2025-05-12 23:51:55 +00:00
14 lines
259 B
Bash
Executable file
14 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 "$@"
|