cleanup: use -Force making directories

This commit is contained in:
AJ ONeal
2020-11-18 16:42:07 -07:00
parent 713e44b7d9
commit 9ee3af1afb
12 changed files with 38 additions and 26 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ IF (!(Test-Path -Path "$pkg_src_cmd"))
# Settle unpacked archive into place
echo "Install Location: $pkg_src_cmd"
New-Item "$pkg_src_bin" -ItemType Directory
New-Item "$pkg_src_bin" -ItemType Directory -Force
Move-Item -Path ".\gitdeploy.exe" -Destination "$pkg_src_bin"
# Exit tmp