Updated build_kit.ps1
This commit is contained in:
parent
d64dcca07d
commit
7a1616c8a7
1 changed files with 2 additions and 2 deletions
|
|
@ -1,12 +1,12 @@
|
||||||
# Wizard Kit: Download kit components
|
# Wizard Kit: Download kit components
|
||||||
|
|
||||||
## Init ##
|
## Init ##
|
||||||
|
#Requires -Version 3.0
|
||||||
clear
|
clear
|
||||||
$host.UI.RawUI.WindowTitle = "Wizard Kit: Build Tool"
|
$host.UI.RawUI.WindowTitle = "Wizard Kit: Build Tool"
|
||||||
$wd = $(Split-Path $MyInvocation.MyCommand.Path)
|
$wd = $(Split-Path $MyInvocation.MyCommand.Path)
|
||||||
$bin = (Get-Item $wd).Parent.FullName
|
$bin = (Get-Item $wd).Parent.FullName
|
||||||
$root = (Get-Item "$bin\..").FullName # Get-Item $bin fails
|
$root = (Get-Item $bin -Force).Parent.FullName
|
||||||
# (I'm assuming that starting with a '.' is the issue)
|
|
||||||
$tmp = "{0}\tmp" -f $bin
|
$tmp = "{0}\tmp" -f $bin
|
||||||
$errors = 0
|
$errors = 0
|
||||||
pushd "$wd"
|
pushd "$wd"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue