diff options
| author | xq114 <[email protected]> | 2021-04-30 00:27:36 +0800 |
|---|---|---|
| committer | xq114 <[email protected]> | 2021-04-30 00:27:36 +0800 |
| commit | 273a820ecac36ec44b4bd7d60a6f2b631db556c5 (patch) | |
| tree | d346d1bdd48bc6a6a2f8062ca03a2a7824a7479a /scripts | |
| parent | b4e8f0d99a58a35477b199daf4c0da138f4a8951 (diff) | |
handle xmake root including space
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/xrepo.bat | 2 | ||||
| -rw-r--r-- | scripts/xrepo.ps1 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/xrepo.bat b/scripts/xrepo.bat index c59fd53d9..c1dde03fe 100755 --- a/scripts/xrepo.bat +++ b/scripts/xrepo.bat @@ -1,6 +1,6 @@ @echo off -@set "XMAKE_EXE=%~dp0xmake.exe" +@set "XMAKE_EXE=xmake" @if [%1]==[env] ( if [%2]==[quit] ( if defined XMAKE_PROMPT_BACKUP ( diff --git a/scripts/xrepo.ps1 b/scripts/xrepo.ps1 index 84bb4f000..620f67cc6 100644 --- a/scripts/xrepo.ps1 +++ b/scripts/xrepo.ps1 @@ -4,7 +4,7 @@ $Env:XMAKE_EXE = Join-Path $BASE_DIR xmake.exe if ($Args.Count -eq 0) { - # No args, just call the underlying conda executable. + # No args, just call the underlying xmake executable. & $Env:XMAKE_EXE lua private.xrepo; } else { $Command = $Args[0]; |
