From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 05AB7158018 for ; Sun, 3 Oct 2021 04:01:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CADAAE0870; Sun, 3 Oct 2021 04:01:10 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A185BE0858 for ; Sun, 3 Oct 2021 04:01:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3F15E342E21 for ; Sun, 3 Oct 2021 04:01:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6CD34106 for ; Sun, 3 Oct 2021 04:01:07 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1633230654.52ac30c3b95a9582ac71b8c266141dd29e71e171.vapier@gentoo> Subject: [gentoo-commits] proj/build-docbook-catalog:master commit in: / X-VCS-Repository: proj/build-docbook-catalog X-VCS-Files: build-docbook-catalog X-VCS-Directories: / X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 52ac30c3b95a9582ac71b8c266141dd29e71e171 X-VCS-Branch: master Date: Sun, 3 Oct 2021 04:01:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ad645fca-f9af-4508-bacb-f4a672fade5e X-Archives-Hash: 7ca8e188f6d46179c8750b2464ee5f60 commit: 52ac30c3b95a9582ac71b8c266141dd29e71e171 Author: Mike Frysinger gentoo org> AuthorDate: Sun Oct 3 03:10:54 2021 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Sun Oct 3 03:10:54 2021 +0000 URL: https://gitweb.gentoo.org/proj/build-docbook-catalog.git/commit/?id=52ac30c3 fix bad let conversion Previous commit changing away from let and to += left a var behind. Fix that up. Signed-off-by: Mike Frysinger gentoo.org> build-docbook-catalog | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build-docbook-catalog b/build-docbook-catalog index 495de64..0ecbc1c 100755 --- a/build-docbook-catalog +++ b/build-docbook-catalog @@ -360,15 +360,15 @@ populate_entities() { : $(( i += 2 )) elif [[ ${avail[j]} < ${entities[i]} ]]; then echo "Warning: Extra ISO entities file: ${avail[j]}" - : $(( j += j + 1 )) + : $(( j += 1 )) elif [[ ${entities[i]} < ${avail[j]} ]]; then echo "Warning: Entities file not found: ${entities[i]}" - : $(( i += i + 2 )) + : $(( i += 2 )) elif [[ ${entities[i]} == ${avail[j]} ]]; then xmlcatalog --noout --add "public" "${entities[i+1]}" \ "file://${isodir}/${entities[i]}" "${ROOT}${CATALOG}" - : $(( j += j + 1 )) - : $(( i += i + 2 )) + : $(( j += 1 )) + : $(( i += 2 )) else error "${0}: whoah, shouldn't be here" fi