Skip to content

Commit

Permalink
ComputeAdmin marketplace item fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewMcGlynn committed Jun 6, 2017
1 parent 8960c04 commit 1a99b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ComputeAdmin/AzureStack.ComputeAdmin.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ Function CreateGalleyItem{
[string] $title,
[string] $description
)
$workdir = '{0}\{1}' -f $env:TEMP, [System.Guid]::NewGuid().ToString()
$workdir = '{0}{1}' -f [System.IO.Path]::GetTempPath(), [System.Guid]::NewGuid().ToString()
New-Item $workdir -ItemType Directory | Out-Null
$basePath = (Get-Module AzureStack.ComputeAdmin).ModuleBase
$compressedGalleryItemPath = Join-Path $basePath 'CustomizedVMGalleryItem.azpkg'
Expand Down

0 comments on commit 1a99b1f

Please sign in to comment.