Skip to content

Commit 57db48b

Browse files
committed
copy system tar to bosh bin
* stemcell building process Protect_Dir behavior didn't like the symlink
1 parent 530cd4c commit 57db48b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/BOSH.Agent/BOSH.Agent.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function Copy-Agent
6868
Move-Item (Join-Path $boshDir (Join-Path "deps" "*")) $depsDir
6969
Remove-Item -Path (Join-Path $boshDir "deps") -Force
7070

71-
New-Item -Path (Join-Path $depsDir "tar.exe") -ItemType SymbolicLink -V "C:\Windows\system32\tar.exe"
71+
Copy-Item "C:\Windows\system32\tar.exe" -Destination (Join-Path $depsDir "tar.exe")
7272
}
7373

7474

0 commit comments

Comments
 (0)