From ae308a98f9c16ceb69e08083f1685e10ef024e24 Mon Sep 17 00:00:00 2001 From: pedro Date: Tue, 11 Feb 2025 19:59:40 +0100 Subject: [PATCH] docker: bugfix syntax error on entrypoint --- docker/idhub.entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/idhub.entrypoint.sh b/docker/idhub.entrypoint.sh index 94acae6..ceb3895 100755 --- a/docker/idhub.entrypoint.sh +++ b/docker/idhub.entrypoint.sh @@ -17,7 +17,7 @@ END inject_env_vars() { # related https://www.kenmuse.com/blog/avoiding-dubious-ownership-in-dev-containers/ - if [ -d "${idhub_dir}/.git" ] + if [ -d "${idhub_dir}/.git" ]; then git config --global --add safe.directory "${idhub_dir}" export COMMIT="commit: $(git log --pretty=format:'%h' -n 1)" fi