The syntax for the check here was incorrect. If the directory didn't exist, it 
would create it, but if it did exist, it would not return and it would 
redownload.

diff --git a/bootstrap b/bootstrap
index dc9fb4383..1d9c6a70f 100755
--- a/bootstrap
+++ b/bootstrap
@@ -931,7 +931,7 @@ update_po_files() {
   # Usually contains *.s1 checksum files.
   ref_po_dir="$po_dir/.reference"

-  test -d $ref_po_dir || mkdir $ref_po_dir || return
+  test -d $ref_po_dir && return || mkdir $ref_po_dir
   download_po_files $ref_po_dir $domain \
     && ls "$ref_po_dir"/*.po 2>/dev/null |
       sed 's|.*/||; s|\.po$||' > "$po_dir/LINGUAS" || return

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to