Skip to content

Commit 1000447

Browse files
committed
[HOTFIX] Fix gallery item creation
1 parent 772ffee commit 1000447

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ComputeAdmin/AzureStack.ComputeAdmin.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ Function CreateGalleyItem{
679679
[string] $title,
680680
[string] $description
681681
)
682-
$workdir = '{0}\{1}' -f $env:TEMP, [System.Guid]::NewGuid().ToString()
682+
$workdir = '{0}{1}' -f [System.IO.Path]::GetTempPath(), [System.Guid]::NewGuid().ToString()
683683
New-Item $workdir -ItemType Directory | Out-Null
684684
$basePath = (Get-Module AzureStack.ComputeAdmin).ModuleBase
685685
$compressedGalleryItemPath = Join-Path $basePath 'CustomizedVMGalleryItem.azpkg'

0 commit comments

Comments
 (0)