Commit cbf4ef17 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 42b6b411
Pipeline #24788 passed with stage
in 0 seconds
...@@ -86,7 +86,7 @@ md5sum = ffa38c0110cf7a91cfc514e013b37a6d ...@@ -86,7 +86,7 @@ md5sum = ffa38c0110cf7a91cfc514e013b37a6d
[template-configuration-state-script] [template-configuration-state-script]
_update_hash_filename_ = templates/configuration-state-script.sh.in _update_hash_filename_ = templates/configuration-state-script.sh.in
md5sum = f494ce78550847066ed5a72c54ef47a9 md5sum = b16a6ebdfc0be3aa7cdeaf47f47751ec
[template-rotate-script] [template-rotate-script]
_update_hash_filename_ = templates/rotate-script.sh.in _update_hash_filename_ = templates/rotate-script.sh.in
......
...@@ -13,7 +13,7 @@ set +e ...@@ -13,7 +13,7 @@ set +e
{{ find_executable }} {{ directory }} -type f -name '{{ name }}' -exec {{ sha256sum }} {} \; >> $NSIGNATURE_FILE.wrk {{ find_executable }} {{ directory }} -type f -name '{{ name }}' -exec {{ sha256sum }} {} \; >> $NSIGNATURE_FILE.wrk
{%- endfor %} {%- endfor %}
set -e set -e
sort -k 66 $NSIGNATURE_FILE.wrk > $NSIGNATURE_FILE sort -k 2,2 $NSIGNATURE_FILE.wrk > $NSIGNATURE_FILE
rm -f $NSIGNATURE_FILE.wrk rm -f $NSIGNATURE_FILE.wrk
if diff "$SIGNATURE_FILE" "$NSIGNATURE_FILE" > /dev/null ; then 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