diff --git a/scripts/Common/Config/aliae/aliae.yml b/scripts/Common/Config/aliae/aliae.yml index 0c65d4f1..6a8c4ab1 100644 --- a/scripts/Common/Config/aliae/aliae.yml +++ b/scripts/Common/Config/aliae/aliae.yml @@ -14,7 +14,7 @@ script: $profileRoot = Split-Path -Parent $PROFILE; $profilePaths = @( "$profileRoot/profile.d/*.ps1", - "{{ if eq .OS "windows" }}C:/ProgramData{{ else }}/etc{{ end }}/powershell/profile.d" + "{{ if eq .OS "windows" }}$env:ProgramData{{ else }}/etc{{ end }}/powershell/profile.d" ); foreach ($profilePath in $profilePaths) {