]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tools/git-tp-sync: fix po/ update
authorKarel Zak <kzak@redhat.com>
Thu, 26 Feb 2026 10:46:51 +0000 (11:46 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 26 Feb 2026 10:51:38 +0000 (11:51 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
tools/git-tp-sync

index 9736a52a5c15c61cf16c6fd27f933f32aeab531e..627bd2dbe2e106eab95edeccce31d7819ba58df8 100755 (executable)
@@ -171,7 +171,8 @@ function regenerate_po_files {
        local PODIR="$1"
 
        if [ "$PODIR" = "po" ]; then
-               if [  "${PODIR}/Makefile" ]; then
+               if [ ! -f "${PODIR}/Makefile" ]; then
+                       echo "missing ${PODIR}/Makefile (ingore)"
                        return;
                else
                        echo "== Updating $PODIR (be patient) =="