savedconfig.eclass: Only check config file candidate once
authorThomas Deutschmann <whissi@gentoo.org>
Sat, 3 Aug 2019 12:43:17 +0000 (14:43 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Thu, 8 Aug 2019 19:47:43 +0000 (21:47 +0200)
commit59e3009e8893e44ebb52abefe8fb1fbcd2adf57c
tree99845e3db793808f7b28985ad6b7aff4daced2ba
parent8191665432dca1d6cc289185cf7fe32aee0646db
savedconfig.eclass: Only check config file candidate once

Due to the injection of $CTARGET and $CHOST in file path
we could end up with an already checked config file candidate
if $CTARGET or $CHOST isn't used.

This commit will make sure that we don't check the same file twice.

Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
eclass/savedconfig.eclass