Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix IDE_ROOT variable on Linux #782

Closed
alfeilex opened this issue Nov 20, 2024 · 1 comment · Fixed by #811
Closed

Fix IDE_ROOT variable on Linux #782

alfeilex opened this issue Nov 20, 2024 · 1 comment · Fixed by #811
Assignees
Labels
bash bug Something isn't working bugfix linux specific for linux OS (debian, ubunutu, suse, etc.)

Comments

@alfeilex
Copy link
Member

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:

  • OS: Ubuntu 24.04 LTS
  • SNAPSHOT: 2024.11.002-beta
@alfeilex alfeilex added bug Something isn't working linux specific for linux OS (debian, ubunutu, suse, etc.) bash bugfix labels Nov 20, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in IDEasy board Nov 20, 2024
@alfeilex
Copy link
Member Author

This is the entry in my ~/.bashrc file

export IDE_ROOT="${PWD}"

@hohwille hohwille self-assigned this Nov 25, 2024
hohwille added a commit to hohwille/IDEasy that referenced this issue Nov 26, 2024
@hohwille hohwille moved this from 🆕 New to 🏗 In progress in IDEasy board Nov 26, 2024
@hohwille hohwille added this to the release:2024.12.001 milestone Nov 26, 2024
hohwille added a commit that referenced this issue Nov 28, 2024
…rent shell #782: fix IDE_ROOT on linux/mac #774: fixed HTTP proxy support (#811)
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in IDEasy board Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bash bug Something isn't working bugfix linux specific for linux OS (debian, ubunutu, suse, etc.)
Projects
Status: ✅ Done
2 participants