Skip to content

Commit 8b24256

Browse files
Fix removal of Alire Build Targets' aliases
This should be done only when reloading a non-Alire project: if an Alire project gets reloaded, we want to keep the aliases. For eng/ide/gnatstudio#30
1 parent d952622 commit 8b24256

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

share/support/core/alire.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,8 @@ def display_message(timeout):
284284
# Alire is being ran
285285
timeout = GPS.Timeout(100, display_message)
286286
timeout.counter = 0
287-
else:
287+
288+
elif not GPS.getenv("ALIRE"):
288289
# We are not loading an Alire project: unset the aliases
289290
# on Alire build targets.
290291
update_aliases_for_alire_targets(is_alire_project=False)

0 commit comments

Comments
 (0)