Skip to content

Commit f98e62c

Browse files
committed
Fix typo in package
1 parent 3dacb8d commit f98e62c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: 8.10.3/ghc/tools/chocolateyInstall.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ rm $tmpFile # Clean up temporary file
5454
# new folders are stupidly long and verbose and break convention.
5555
# let's normalize them
5656
$longBinPackageDir = Join-Path $binRoot $baseTarget
57-
if (Test-Path $pkg_config) {
57+
if (Test-Path $longBinPackageDir) {
5858
Rename-Item -fo $longBinPackageDir $packageFullName
5959
}
6060

Diff for: 8.10.4/ghc/tools/chocolateyInstall.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ rm $tmpFile # Clean up temporary file
5454
# new folders are stupidly long and verbose and break convention.
5555
# let's normalize them
5656
$longBinPackageDir = Join-Path $binRoot $baseTarget
57-
if (Test-Path $pkg_config) {
57+
if (Test-Path $longBinPackageDir) {
5858
Rename-Item -fo $longBinPackageDir $packageFullName
5959
}
6060

0 commit comments

Comments
 (0)