Skip to content

Commit

Permalink
Merge pull request #4959 from unisonweb/topic/fix-launcher-script
Browse files Browse the repository at this point in the history
resolve any symlinks to ucm before computing paths
  • Loading branch information
aryairani authored May 16, 2024
2 parents 34e1489 + de92926 commit d06f0d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/bundle-ucm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down

0 comments on commit d06f0d5

Please sign in to comment.