]> Git [git.vados.ru] :: Repos - Mikrotiks/ros.vados.ru.git/commitdiff
Autocommit in repo: ros.vados.ru, generated by owner: root, in 03:50:02 04.05.2026.
authorvados-dev <192440777+vados-dev@users.noreply.github.com>
Mon, 4 May 2026 00:50:03 +0000 (03:50 +0300)
committervados-dev <192440777+vados-dev@users.noreply.github.com>
Mon, 4 May 2026 00:50:03 +0000 (03:50 +0300)
html/AM-GlobalFunc.rsc
html/certs/Makefile

index bbcaa2ce2787cd3e35b978560834dc21a1e206fa..6a2ebe0dfe88b7dc85417d534239b2f4b6a3e37a 100644 (file)
@@ -17,9 +17,9 @@
 :global GlobalFuncReady false;
 
 # Git commit id & info, expected configuration version
-:global CommitId "main/484/009d9e24";
+:global CommitId "main/485/5f3062a9";
 :global CommitTAG "unknown";
-:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 03:40:02 04.05.2026.";
+:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 03:50:02 04.05.2026.";
 
 # The variables are received right here.
 :global GlobalConfVersion 138;
index f8a99cf9551fd8099c5d8467739ce61c950667fb..842559663248c840e72457a8e048f99eac3ad062 100644 (file)
@@ -4,7 +4,7 @@ SHELL := /bin/bash
 BUILD_DIR := $(CURDIR)
 LIST_ROOT := lists
 INDEX_FILE := .index.tsv
-INDEX_URLS := index.url
+INDEX_URLS := index.urls
 
 # Current layout: lists/Makefile.<target>
 LIST_FILES := $(wildcard $(LIST_ROOT)/Makefile.*)
@@ -158,11 +158,13 @@ urls-list:
                echo "WARN: missing $(OUT_DIR)/$(INDEX_URLS); run make $(OUT_DIR) first" >&2; \
                exit 0; \
        fi; \
+       tmp_index="$$(mktemp)"; \
        while IFS=$$'\t' read -r check_url download_url pem cn || [ -n "$$check_url" ]; do \
                [ -n "$$check_url" ] || continue; \
                printf 'Checking %s with %s (%s)\n' "$$check_url" "$$pem" "$$cn"; \
-               ls --file-type --hide=$(INDEX_URLS) >&2; \
+               ls --file-type --hide=*.urls >> "$$tmp_index"; \
        done < "$(OUT_DIR)/$(INDEX_URLS)"; \
+       mv -- "$$tmp_index" "$(OUT_DIR)/$(INDEX_URLS)"; \
        true
 
 clean-list: