From 9f74eae7c4b675d4841ee3cfc0c8ea3268350376 Mon Sep 17 00:00:00 2001 From: "Sebastien Jourdain (Kitware)" Date: Mon, 22 Jan 2024 16:58:40 -0700 Subject: [PATCH] ci(docker): fix condition to update user uid/gid --- docker/scripts/runtime_patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/scripts/runtime_patch.sh b/docker/scripts/runtime_patch.sh index 7b71c2f1..77c98680 100755 --- a/docker/scripts/runtime_patch.sh +++ b/docker/scripts/runtime_patch.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Remap trame-user to a file/directory owner (TRAME_USER_DATA) -if [ -z "$TRAME_USER_DATA" ] +if [ TRAME_USER_DATA ] then new_uid=$(stat -c '%u' $TRAME_USER_DATA) new_gid=$(stat -c '%g' $TRAME_USER_DATA)