From 5f3bcc5ca10c509dfd2e6fa348f0c3bcdfc54454 Mon Sep 17 00:00:00 2001
From: Chris Lamb <chris@chris-lamb.co.uk>
Date: Sat, 4 Mar 2017 22:11:27 +0000
Subject: [PATCH] Please make the build reproducible.

Whilst working on the Reproducible Builds effort [0], we noticed
that node-mocha could not be built reproducibly.

 [0] https://reproducible-builds.org/
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 22587495d3..7b8ae94cb4 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ else
 endif
 
 TM_BUNDLE = JavaScript\ mocha.tmbundle
-SRC = $(shell find lib -name "*.js" -type f | sort)
+SRC = $(shell find lib -name "*.js" -type f | LC_ALL=C sort)
 TESTS = $(shell find test -name "*.js" -type f | sort)
 
 all: mocha.js