From de92926d9bd1da9f9fc4b50633de61cf531b057d Mon Sep 17 00:00:00 2001 From: Arya Irani Date: Wed, 15 May 2024 21:15:53 -0400 Subject: [PATCH] resolve any symlinks to ucm before computing paths --- .github/workflows/bundle-ucm.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bundle-ucm.yaml b/.github/workflows/bundle-ucm.yaml index fd389024c2..281e891118 100644 --- a/.github/workflows/bundle-ucm.yaml +++ b/.github/workflows/bundle-ucm.yaml @@ -233,7 +233,8 @@ jobs: file: ucm content: | #!/bin/bash - "$(dirname "$0")/unison/unison" --runtime-path "$(dirname "$0")/runtime/bin/unison-runtime" "$@" + unison_root="$(dirname "$(readlink -f "$0")")" + "${unison_root}/unison/unison" --runtime-path "${unison_root}/runtime/bin/unison-runtime" "$@" - name: create startup script (Windows) if: runner.os == 'Windows' uses: 1arp/create-a-file-action@0.4.4