From 8910c10d94e8bb0e52d82f1316f96bf88f71fa0b Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Mon, 6 Feb 2023 19:37:51 -0300 Subject: [PATCH] Jenkins: Don't create AppImage workaround symlink if it already exists (also: introducing new Windows node) --- .ci/build.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.ci/build.sh b/.ci/build.sh index 63a957477..85420a3c6 100644 --- a/.ci/build.sh +++ b/.ci/build.sh @@ -1175,8 +1175,11 @@ EOF do for loader_copy in "$loader" "/lib/$(basename "$loader")" do - mkdir -p "/runtime/compat$(dirname "$loader_copy")" - ln -s "$loader" "/runtime/compat$loader_copy" + if [ ! -e "/runtime/compat$loader_copy" ] + then + mkdir -p "/runtime/compat$(dirname "$loader_copy")" + ln -s "$loader" "/runtime/compat$loader_copy" + fi echo " - /runtime/compat$loader_copy" >> AppImageBuilder-generated.yml done done