diff options
| author | xq114 <[email protected]> | 2021-11-08 18:32:42 +0800 |
|---|---|---|
| committer | xq114 <[email protected]> | 2021-11-08 18:32:42 +0800 |
| commit | 97ae2e38c5394903b0ed41ac6b5ba080963a4907 (patch) | |
| tree | a74381f7a0c642fc074fcae04a48d234ab692473 /scripts | |
| parent | 97f278eff5579ceef47ff86ad028746ff0713153 (diff) | |
fix a bug with venv on unix
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/register-virtualenvs.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/register-virtualenvs.sh b/scripts/register-virtualenvs.sh index cf067d040..6b0c25160 100644 --- a/scripts/register-virtualenvs.sh +++ b/scripts/register-virtualenvs.sh @@ -58,6 +58,8 @@ function xrepo { "$XMAKE_EXE" lua --quiet private.xrepo.action.env.info backup.bash $bnd 1>"$XMAKE_ENV_BACKUP" eval "$activateCommand" PS1="${prompt} $PS1" + else + "$XMAKE_EXE" lua private.xrepo "$@" fi ;; *) |
