1 |
commit: 2324a630a7c650187edd0ce7b1343a6f3e40423d |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 21 07:37:00 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 22 21:19:03 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=2324a630 |
7 |
|
8 |
targets: fix comparison operator |
9 |
|
10 |
'<' and '>' work lexicographically in bash. |
11 |
|
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
14 |
|
15 |
targets/support/pre-kmerge.sh | 4 ++-- |
16 |
1 file changed, 2 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/targets/support/pre-kmerge.sh b/targets/support/pre-kmerge.sh |
19 |
index 0dfc835e..ed825f5f 100755 |
20 |
--- a/targets/support/pre-kmerge.sh |
21 |
+++ b/targets/support/pre-kmerge.sh |
22 |
@@ -18,8 +18,8 @@ if [[ ${clst_hostarch} == hppa ]]; then |
23 |
;; |
24 |
esac |
25 |
done |
26 |
- [[ $num32 > 1 ]] && die "Only one 32-bit kernel can be configured" |
27 |
- [[ $num64 > 1 ]] && die "Only one 64-bit kernel can be configured" |
28 |
+ [[ $num32 -gt 1 ]] && die "Only one 32-bit kernel can be configured" |
29 |
+ [[ $num64 -gt 1 ]] && die "Only one 64-bit kernel can be configured" |
30 |
fi |
31 |
|
32 |
run_merge --oneshot sys-kernel/genkernel |