fix activation of devenv, use /usr/bin/env bash everywhere
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
# 3. Point you at `.\activate.ps1` - the venv-style way to put the pm env
|
||||
# (PATH + tool vars) into your current session.
|
||||
# ============================================================================
|
||||
param([switch]$RuntimeOnly)
|
||||
$ErrorActionPreference = 'Stop'
|
||||
|
||||
Write-Host ''
|
||||
@@ -87,6 +88,8 @@ try {
|
||||
}
|
||||
Write-Host 'Tools + dependencies installed (hash-verified via pm + uv.lock)' -ForegroundColor Green
|
||||
|
||||
if ($RuntimeOnly) { exit 0 }
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Environment file
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user