From 3997e2f7fbbc054e0619d734efd8e795c0c1f344 Mon Sep 17 00:00:00 2001 From: Casper Jeukendrup <48658420+cbjeukendrup@users.noreply.github.com> Date: Thu, 19 Sep 2024 22:32:42 +0200 Subject: [PATCH] make_appimage.sh: work around error with appimageupdatetool --- buildscripts/ci/linux/tools/make_appimage.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/buildscripts/ci/linux/tools/make_appimage.sh b/buildscripts/ci/linux/tools/make_appimage.sh index f9bcc0e011b28..95eb810f226d3 100644 --- a/buildscripts/ci/linux/tools/make_appimage.sh +++ b/buildscripts/ci/linux/tools/make_appimage.sh @@ -126,7 +126,10 @@ if [[ ! -d $BUILD_TOOLS/appimageupdatetool ]]; then fi if [[ "${UPDATE_INFORMATION}" ]]; then export PATH="$BUILD_TOOLS/appimageupdatetool:$PATH" - appimageupdatetool --version + + # `appimageupdatetool`'s `AppRun` script gets confused when called via a symlink. + # Resolve the symlink here to avoid this issue. + $(readlink -f "$(which appimageupdatetool)") --version fi ##########################################################################