diff --git a/src/alire/alire-toolchains.adb b/src/alire/alire-toolchains.adb index 8e1e1f26e..afb32f1c1 100644 --- a/src/alire/alire-toolchains.adb +++ b/src/alire/alire-toolchains.adb @@ -535,7 +535,7 @@ package body Alire.Toolchains is & TTY.URL (Full_Name (Item))); end if; - else + elsif Simple_Name (Item) /= Simple_Name (Dirty_Cache_Flag) then Warnings.Warn_Once ("Unexpected file in toolchain crates path: " & TTY.URL (Full_Name (Item))); end if;