1 |
commit: 52ac30c3b95a9582ac71b8c266141dd29e71e171 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 3 03:10:54 2021 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 3 03:10:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/build-docbook-catalog.git/commit/?id=52ac30c3 |
7 |
|
8 |
fix bad let conversion |
9 |
|
10 |
Previous commit changing away from let and to += left a var behind. |
11 |
Fix that up. |
12 |
|
13 |
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> |
14 |
|
15 |
build-docbook-catalog | 8 ++++---- |
16 |
1 file changed, 4 insertions(+), 4 deletions(-) |
17 |
|
18 |
diff --git a/build-docbook-catalog b/build-docbook-catalog |
19 |
index 495de64..0ecbc1c 100755 |
20 |
--- a/build-docbook-catalog |
21 |
+++ b/build-docbook-catalog |
22 |
@@ -360,15 +360,15 @@ populate_entities() { |
23 |
: $(( i += 2 )) |
24 |
elif [[ ${avail[j]} < ${entities[i]} ]]; then |
25 |
echo "Warning: Extra ISO entities file: ${avail[j]}" |
26 |
- : $(( j += j + 1 )) |
27 |
+ : $(( j += 1 )) |
28 |
elif [[ ${entities[i]} < ${avail[j]} ]]; then |
29 |
echo "Warning: Entities file not found: ${entities[i]}" |
30 |
- : $(( i += i + 2 )) |
31 |
+ : $(( i += 2 )) |
32 |
elif [[ ${entities[i]} == ${avail[j]} ]]; then |
33 |
xmlcatalog --noout --add "public" "${entities[i+1]}" \ |
34 |
"file://${isodir}/${entities[i]}" "${ROOT}${CATALOG}" |
35 |
- : $(( j += j + 1 )) |
36 |
- : $(( i += i + 2 )) |
37 |
+ : $(( j += 1 )) |
38 |
+ : $(( i += 2 )) |
39 |
else |
40 |
error "${0}: whoah, shouldn't be here" |
41 |
fi |