Skip to content

Commit

Permalink
Fix the environment parameter error in build (Azure#4246)
Browse files Browse the repository at this point in the history
  • Loading branch information
georgechenchao authored and tjprescott committed Aug 17, 2017
1 parent ec20314 commit 4d23492
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ on_success:
- git config --global user.name "%GIT_USER_NAME%"
- git clone --depth 5 -q --branch=%TARGET_BRANCH% %GIT_CONTENT_REPO_URL% %TEMP%\azure-cli-content
- ps: |
$folders = Get-ChildItem -Path "%TEMP%\azure-cli-content" -Directory
$folders = Get-ChildItem -Path "$env:TEMP\azure-cli-content" -Directory
ForEach($folder in $folders)
{
$folderPath = [System.IO.Path]::Combine("%TEMP%\azure-cli-content", $folder)
$folderPath = [System.IO.Path]::Combine("$env:TEMP\azure-cli-content", $folder)
$subFolders = Get-ChildItem -Path $folderPath -Directory -Name
if ($subFolders -contains "$env:YML_OUTPUT_FOLDER" -and $subFolders -contains "$env:CONCEPTUAL_DOC_FOLDER")
{
Expand Down

0 comments on commit 4d23492

Please sign in to comment.