historical/moneyrocket.git/ci/lint/docker-entrypoint.sh
2024-01-16 11:20:27 -06:00

12 lines
306 B
Bash

#!/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 moneyrocket src dir.
git config --global --add safe.directory /moneyrocket
if [ -z "$1" ]; then
LOCAL_BRANCH=1 bash -ic "./ci/lint/06_script.sh"
else
exec "$@"
fi