From 0adf79eedd234c5f160066b25c36f4e51bbce4c0 Mon Sep 17 00:00:00 2001 From: "David A. Harding" Date: Thu, 23 Apr 2015 11:26:35 -0400 Subject: [PATCH] Build System: Sort Files For Consistent Comparison Fixes problem with filenames being listed in different order on different systems. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 7ea591db..7177f75d 100644 --- a/Makefile +++ b/Makefile @@ -93,6 +93,7 @@ build: $S export LANG=C.UTF-8 ; bundle exec jekyll build 2>&1 | tee $(JEKYLL_LOG) $S grep -r -L 'Note: this file is built non-deterministically' _site/ \ | egrep -v 'sha256sums.txt' \ + | sort \ | xargs sha256sum > _site/sha256sums.txt ## Jekyll annoyingly returns success even when it emits errors and