From 4d7803eecaef68eeb90ded5c8919c2640c98a3f9 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 4 Jan 2023 13:01:09 +0100 Subject: git-commit-po-updates.sh: fix parameter name to avoid crash under set -u --- dist-tools/git-commit-po-updates.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dist-tools') diff --git a/dist-tools/git-commit-po-updates.sh b/dist-tools/git-commit-po-updates.sh index f7c4d759..0bcdb6f4 100755 --- a/dist-tools/git-commit-po-updates.sh +++ b/dist-tools/git-commit-po-updates.sh @@ -115,7 +115,7 @@ done git diff -G '^"(Project-Id-Version|PO-Revision-Date):' --name-only po/*.po \ | while read pofile ; do if ! handle_po "$pofile" "Update" "to" ; then - echo "There were errors updating $nfile" >&2 ; rc=1 + echo "There were errors updating $pofile" >&2 ; rc=1 fi done -- cgit v1.2.3