forked from p34709852/monkey
Remove config.ps1 after loading the configuration
This commit is contained in:
parent
c53806e789
commit
161265e4c4
|
@ -12,6 +12,8 @@ function Deploy-Windows([String] $monkey_home = (Get-Item -Path ".\").FullName,
|
||||||
$webClient.DownloadFile($config_url, $config_filename)
|
$webClient.DownloadFile($config_url, $config_filename)
|
||||||
. ./config.ps1
|
. ./config.ps1
|
||||||
"Config variables from config.ps1 imported"
|
"Config variables from config.ps1 imported"
|
||||||
|
Remove-Item $config_filename
|
||||||
|
|
||||||
|
|
||||||
# If we want monkey in current dir we need to create an empty folder for source files
|
# If we want monkey in current dir we need to create an empty folder for source files
|
||||||
if ((Join-Path $monkey_home '') -eq (Join-Path (Get-Item -Path ".\").FullName ''))
|
if ((Join-Path $monkey_home '') -eq (Join-Path (Get-Item -Path ".\").FullName ''))
|
||||||
|
|
Loading…
Reference in New Issue