Jenkins: Don't create AppImage workaround symlink if it already exists (also: introducing new Windows node)

This commit is contained in:
RichardG867
2023-02-06 19:37:51 -03:00
parent f87f989f5d
commit 8910c10d94

View File

@@ -1175,8 +1175,11 @@ EOF
do do
for loader_copy in "$loader" "/lib/$(basename "$loader")" for loader_copy in "$loader" "/lib/$(basename "$loader")"
do do
mkdir -p "/runtime/compat$(dirname "$loader_copy")" if [ ! -e "/runtime/compat$loader_copy" ]
ln -s "$loader" "/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 echo " - /runtime/compat$loader_copy" >> AppImageBuilder-generated.yml
done done
done done