Describe the bug
Currently alr printenv
does not support output in the Msys path convention, i.e. in the form like /e/alire/gprbuild_22.0.1_c842bbc5/bin:/e/alire/gnat_arm_elf_14.2.1_2c52e01a/bin:...
instead of the current form e:\alire\gprbuild_22.0.1_c842bbc5\bin;e:\alire\gnat_arm_elf_14.2.1_2c52e01a\bin;...
To Reproduce
run alr printenv --unix
in a Msys2 environment (mingw/ucrt64)
Expected Behavior
alr printenv --msys
should print
export PATH="/e//alire/gprbuild_22.0.1_c842bbc5/bin:/e/alire/gnat_arm_elf_14.2.1_2c52e01a/bin:..."
alr
version
$ alr version
APPLICATION
alr version: 2.0.1
libalire version: 2.0.1
compilation date: 2024-03-21 11:09:31
compiled with version: 13.2.0
CONFIGURATION
settings folder: C:\Users\Rolf\AppData\Local\alire\settings
cache folder: e:\alire
vault folder: e:\alire\releases
build folder: e:\alire\builds
temp folder: E:\msys64\tmp
force flag: FALSE
non-interactive flag: FALSE
community index branch: stable-1.3.0
compatible index versions: ^1.1 & <=1.3.0
indexes folder: C:\Users\Rolf\AppData\Local\alire\settings\indexes
indexes metadata: OK
index #1: (community) git+https://github.com/alire-project/alire-index#stable-1.3.0
toolchain folder: e:\alire
toolchain assistant: disabled
tool #1 gnat: gnat_native=14.2.1
tool #2 gprbuild: gprbuild=22.0.1
system package manager: E:\msys64\usr\bin\pacman.exe
distro detection disabled: FALSE
WORKSPACE
root status: VALID
root release: hello=0.1.0-dev
root load error: none
root folder: H:\Ada\rp2040\hello
current folder: H:\Ada\rp2040\hello
SYSTEM
distribution: MSYS2
host-arch: X86_64
os: WINDOWS
target: NATIVE
toolchain: USER
word-size: BITS_64
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too