Skip to content

Commit f2a1ddc

Browse files
derickrnikic
authored andcommitted
Fixed warning in ZTS mode, as the paths are the same
1 parent 215e130 commit f2a1ddc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.appveyor.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,9 @@ build_script:
145145
$dname1 = 'php-' + $env:PHP_VER + $ts_part + '-devel-' + $env:VC.toUpper() + '-' + $env:ARCH
146146
if (-not (Test-Path c:\build-cache\$dname1)) {
147147
7z x c:\build-cache\$bname -oc:\build-cache
148-
move c:\build-cache\$dname0 c:\build-cache\$dname1
148+
if ($dname0 -ne $dname1) {
149+
move c:\build-cache\$dname0 c:\build-cache\$dname1
150+
}
149151
}
150152
cd c:\projects\ast
151153
$env:PATH = 'c:\build-cache\' + $dname1 + ';' + $env:PATH

0 commit comments

Comments
 (0)