1 |
commit: d4127c98b4b90b33e9c2e937aa71c20d0956ebc0 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 21 17:56:37 2021 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 21 17:56:37 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=d4127c98 |
7 |
|
8 |
crossdev: use die() in eval() context to avoid error message swallowing |
9 |
|
10 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
11 |
|
12 |
crossdev | 5 +---- |
13 |
1 file changed, 1 insertion(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/crossdev b/crossdev |
16 |
index 7bceed5..1a2b030 100755 |
17 |
--- a/crossdev |
18 |
+++ b/crossdev |
19 |
@@ -991,10 +991,7 @@ load_multilib_env() { |
20 |
else |
21 |
single_abi=false |
22 |
fi |
23 |
- if ! multilib_env ; then |
24 |
- echo "die 'could not load multilib settings for ${var}'" |
25 |
- exit 1 |
26 |
- fi |
27 |
+ multilib_env || die "die 'could not load multilib settings for ${var}'" |
28 |
${single_abi} && MULTILIB_ABIS=${DEFAULT_ABI} |
29 |
|
30 |
# output the desired env |