devonfw / IDEasy

Tool to automate the setup and updates of a development environment for any project (Successor of devonfw-ide).
Apache License 2.0
11 stars 23 forks source link

Fix IDE_ROOT variable on Linux #782

Open alfeilex opened 5 days ago

alfeilex commented 5 days ago

Expected behavior

If I am setting up IDEasy on Ubuntu, then the variable IDE_ROOT should be set correctly, like on Windows (e.g C:\projects)

Actual behavior

After setting up IDEasy, the IDE_ROOT variable is not set correctly. It always takes the value of the path where the terminal was started.

Steps to reproduce (bug)

  1. Setup ideasy on Linux
  2. Open the terminal in any location
  3. Run echo $IDE_ROOT and observe the value

Affected version:

alfeilex commented 5 days ago

This is the entry in my ~/.bashrc file

export IDE_ROOT="${PWD}"