]> Git [git.vados.ru] :: Repos - Mikrotiks/ros.vados.ru.git/commitdiff
Auto-commit: checksums.sh updated on 3/6/2026
authorvados-dev <vados@vados.ru>
Fri, 6 Mar 2026 11:29:35 +0000 (14:29 +0300)
committervados-dev <vados@vados.ru>
Fri, 6 Mar 2026 11:29:35 +0000 (14:29 +0300)
bin/checksums.sh

index 31e4f0fe188362acbda900f6107e5114d3a47267..35048ddc82dafb5f15eec652056a717a36f0257b 100755 (executable)
@@ -1,11 +1,7 @@
-#!/bin/sh
 
-htmlDir=`pwd`"/html"
-#echo $htmlDir
-#exit 0
-cd $htmlDir
 set -e
 
-md5sum $(find -name '*.rsc' | sort) | \
+cd ${BUILD_DIR}"/html" && \
+ md5sum $(find -name '*.rsc' | sort) | \
        sed -e "s| \./||" -e 's|.rsc$||' | \
        jq --raw-input --null-input '[ inputs | split (" ") | { (.[1]): (.[0]) }] | add'