From 1b8a266edd72a3b823b7cfd724ec35174af7a2c0 Mon Sep 17 00:00:00 2001 From: Hagb Green Date: Wed, 27 Nov 2019 17:17:40 +0800 Subject: [PATCH] Fix a bug in synchelper.sh --- synchelper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synchelper.sh b/synchelper.sh index e4e09ab..14fae78 100755 --- a/synchelper.sh +++ b/synchelper.sh @@ -90,7 +90,7 @@ checksync() { if po_potDate=$(download "$_gnuLink/$poPath" | getpo_potDate) && po_poDate=$(download "$_gnuLink/$poPath" | getpo_poDate); then md_poDate=$(getmd_poDate "$1") || return 3 [ "$po_potDate" == "$pot_potDate" ] || out_dated $1 : pot_potDate = "$pot_potDate" , but po_potDate = "$po_potDate" . - [ "$po_potDate" == "$md_potDate" ] || out_dated $1 : po_potDate = "$po_potDate" , but md_poDate = "$md_potDate" . + [ "$po_potDate" == "$md_potDate" ] || out_dated $1 : po_potDate = "$po_potDate" , but md_potDate = "$md_potDate" . [ "$po_poDate" == "$md_poDate" ] || out_dated $1 : po_poDate = "$po_poDate" , but md_poDate = "$md_poDate" . else echo Couldn\'t get po file from "$_gnuLink/$poPath" for "$1". >&2