diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-02 12:41:43 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-02 12:41:43 +0300 |
commit | c3be8ea01a98928e1cdb734cb5141dd7523a3303 (patch) | |
tree | 7700d8cb394b55ed912d7dee5b9d5c773366935f | |
parent | refactoring (diff) | |
download | setup-clang-c3be8ea01a98928e1cdb734cb5141dd7523a3303.tar.gz setup-clang-c3be8ea01a98928e1cdb734cb5141dd7523a3303.zip |
refactoring
-rw-r--r-- | action.yml | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -58,10 +58,10 @@ runs: [Parameter(Mandatory=$true)] [string] $Path ) - $Path = realpath.exe --no-symlinks -- $Path - $dirname = dirname.exe -- $Path + $realpath = realpath.exe --no-symlinks -- $Path + $dirname = dirname.exe -- $realpath $dirname = cygpath.exe -wa $dirname - Join-Path $dirname (Split-Path $Path -Leaf) + Join-Path $dirname (Split-Path $realpath -Leaf) } function Fix-CygwinLink { |