From 625ee243f954265baf280c4130ac96e331bd3e96 Mon Sep 17 00:00:00 2001 From: OpportunityLiu Date: Thu, 6 Jun 2019 19:20:56 +0800 Subject: fix --- scripts/get.ps1 | 4 ---- xmake/scripts/update-script.bat | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/get.ps1 b/scripts/get.ps1 index 769585ebd..8bce62861 100644 --- a/scripts/get.ps1 +++ b/scripts/get.ps1 @@ -8,10 +8,6 @@ param ( [string]$installdir = $(Join-Path $(if($env:HOME) { $env:HOME } else { "C:\" }) 'xmake') ) -echo $branch -echo $version -echo $installdir - function myExit($code) { if ($code -is [int] -and $code -ne 0) { throw $Error[0] diff --git a/xmake/scripts/update-script.bat b/xmake/scripts/update-script.bat index f0df7c1bd..760db0817 100644 --- a/xmake/scripts/update-script.bat +++ b/xmake/scripts/update-script.bat @@ -1,7 +1,7 @@ @echo off echo Removing old files -cd "%~1" +cd /d "%~1" del actions core includes languages modules platforms plugins repository rules scripts templates themes /S /Q /F >nul echo Copying from temp directory to "%~1" xcopy "%~2" "%~1" /S /Y /Q >nul \ No newline at end of file -- cgit v1.3.1