Updated build_kit.ps1

This commit is contained in:
Alan Mason 2017-11-25 16:32:07 -08:00
parent d64dcca07d
commit 7a1616c8a7

View file

@ -1,12 +1,12 @@
# Wizard Kit: Download kit components
## Init ##
#Requires -Version 3.0
clear
$host.UI.RawUI.WindowTitle = "Wizard Kit: Build Tool"
$wd = $(Split-Path $MyInvocation.MyCommand.Path)
$bin = (Get-Item $wd).Parent.FullName
$root = (Get-Item "$bin\..").FullName # Get-Item $bin fails
# (I'm assuming that starting with a '.' is the issue)
$root = (Get-Item $bin -Force).Parent.FullName
$tmp = "{0}\tmp" -f $bin
$errors = 0
pushd "$wd"