Commit 8c875e01 authored by Łukasz Nowak's avatar Łukasz Nowak

caddy-frontend: Stabilize sort

We want to sort by filename, which is on second column. The previous value
here was just wrong.
parent 77b3535d
......@@ -86,7 +86,7 @@ md5sum = ffa38c0110cf7a91cfc514e013b37a6d
[template-configuration-state-script]
_update_hash_filename_ = templates/configuration-state-script.sh.in
md5sum = f494ce78550847066ed5a72c54ef47a9
md5sum = b16a6ebdfc0be3aa7cdeaf47f47751ec
[template-rotate-script]
_update_hash_filename_ = templates/rotate-script.sh.in
......
......@@ -13,7 +13,7 @@ set +e
{{ find_executable }} {{ directory }} -type f -name '{{ name }}' -exec {{ sha256sum }} {} \; >> $NSIGNATURE_FILE.wrk
{%- endfor %}
set -e
sort -k 66 $NSIGNATURE_FILE.wrk > $NSIGNATURE_FILE
sort -k 2,2 $NSIGNATURE_FILE.wrk > $NSIGNATURE_FILE
rm -f $NSIGNATURE_FILE.wrk
if diff "$SIGNATURE_FILE" "$NSIGNATURE_FILE" > /dev/null ; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment