aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/action.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--action.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/action.yml b/action.yml
index 7031bf9..a1c16bf 100644
--- a/action.yml
+++ b/action.yml
@@ -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 {