aboutsummaryrefslogtreecommitdiff
path: root/ci/lint/docker-entrypoint.sh
blob: 3fdbbb0761c0a9131d1a1cf426c45d008b8e94b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash
export LC_ALL=C

# Fixes permission issues when there is a container UID/GID mismatch with the owner
# of the mounted bitcoin src dir.
git config --global --add safe.directory /bitcoin

if [ -z "$1" ]; then
  LOCAL_BRANCH=1 bash -ic "./ci/lint/06_script.sh"
else
  exec "$@"
fi