Skip to content

Commit

Permalink
resolve any symlinks to ucm before computing paths
Browse files Browse the repository at this point in the history
  • Loading branch information
aryairani committed May 16, 2024
1 parent 34e1489 commit de92926
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 de92926

Please sign in to comment.