Skip to content

Commit

Permalink
C:\workdir doesn't exist during packer build
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronJackson committed Jul 31, 2024
1 parent b2eed43 commit 2d13107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/autohibernate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if ($null -eq $Env:AUTOHIBERNATE_TIME) {
}


$idleScript = "C:\workdir\idleshutdown.ps1"
$idleScript = "C:\Tools\idleshutdown.ps1"
New-Item $idleScript
Set-Content $idleScript @"
`$quser = quser | ForEach-Object -Process { `$_ -replace '\s{2,21}',',' } | ConvertFrom-Csv
Expand Down

0 comments on commit 2d13107

Please sign in to comment.