Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
cbjeukendrup committed Sep 19, 2024
1 parent 73c693b commit 4dd658a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions buildscripts/ci/linux/tools/make_appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,19 @@ fi
if [[ "${UPDATE_INFORMATION}" ]]; then
export PATH="$BUILD_TOOLS/appimageupdatetool:$PATH"

readlink -f "$(which appimageupdatetool)"
readlink "$(which appimageupdatetool)"
ls $BUILD_TOOLS
ls $BUILD_TOOLS/appimageupdatetool
ls $BUILD_TOOLS/appimageupdatetool/appimageupdatetool-${PACKARCH}.AppDir

cd $BUILD_TOOLS/appimageupdatetool
readlink -f "$(which appimageupdatetool)"
readlink "$(which appimageupdatetool)"
ls $BUILD_TOOLS
ls $BUILD_TOOLS/appimageupdatetool
ls $BUILD_TOOLS/appimageupdatetool/appimageupdatetool-${PACKARCH}.AppDir

# `appimageupdatetool`'s `AppRun` script gets confused when called via a symlink to itself
# (rather than when its containing AppDir is symlinked). Let's patch it.
sed -i 's|appdir=$(readlink -f ${APPDIR:-$(dirname "$0")})|appdir=$(readlink -f "${APPDIR:-$(dirname "$(readlink -f "$(which "$0")")")}")|' "$(which appimageupdatetool)"
Expand Down

0 comments on commit 4dd658a

Please sign in to comment.