Fix CWD for InstallCommandlet #1084
Labels
bug
Something isn't working
install
installation process of IDE + tools and install commandlet
native-image
GraalVM native image of IDEasy CLI (e.g. for bugs that only happen in binary of CLI)
Expected behavior
The installation commandlet
ideasy -f install
should also work when run outside«installation-location»\_ide
itself (cd "$(dirname "$0")/.."
).Actual behavior
When running
ideasy install
outside«installation-location»\_ide` , the `cdw` is the current path and when its not in `_ide` then wrong resolving results in invalid path, like
«installation-location»_ide\bin\bin`.Steps to reproduce
Run ``«installation-location»_ide\bin\ideasy.exe install
or navigate inside the bin folder and run
ideasy -f install` there. Be sure that IDEasy is not installed on your system. Remove software/maven and also the envA solution is that the cwd variable is
cwd = IDE_ROOT/_ide
The text was updated successfully, but these errors were encountered: