1 |
commit: 90316d9f915d2e0767b3b09cf2ec7d0cff9e8d06 |
2 |
Author: Jaco Kroon <jaco <AT> iewc <DOT> co <DOT> za> |
3 |
AuthorDate: Tue Feb 9 08:25:02 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 9 08:45:21 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/data/api.git/commit/?id=90316d9f |
7 |
|
8 |
used_free_uidgids.sh: syntax fixup |
9 |
|
10 |
<juippis> bin/used_free_uidgids.sh: line 95: reasons{range_end+1]=RESERVED: command not found |
11 |
|
12 |
Signed-off-by: Jaco Kroon <jaco <AT> iewc.co.za> |
13 |
Closes: https://github.com/gentoo/api-gentoo-org/pull/366 |
14 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
15 |
|
16 |
bin/used_free_uidgids.sh | 2 +- |
17 |
1 file changed, 1 insertion(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/bin/used_free_uidgids.sh b/bin/used_free_uidgids.sh |
20 |
index b0ed417..3b43ac9 100755 |
21 |
--- a/bin/used_free_uidgids.sh |
22 |
+++ b/bin/used_free_uidgids.sh |
23 |
@@ -92,7 +92,7 @@ consume() |
24 |
|
25 |
if [[ ${range_end} -lt ${ranges[k]} ]]; then |
26 |
ranges[range_end+1]=${ranges[k]} |
27 |
- reasons{range_end+1]=${reasons[k]} |
28 |
+ reasons[range_end+1]=${reasons[k]} |
29 |
fi |
30 |
[[ ${range_start} -gt ${k} ]] && ranges[k]=$(( range_start - 1 )) |
31 |
break |