Commit e4c54b95dc64aa0231b6c7718cfdb5cc075aba3e

Stefan Sperling 2019-08-08T18:36:05

sort list of files in release tarball

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Makefile b/Makefile
index c0879af..c8261f7 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ dist: clean
 	tar -C /tmp -zcf got-${GOT_VERSION}.tar.gz got-${GOT_VERSION}
 	rm -rf /tmp/got-${GOT_VERSION}
 	tar -ztf got-${GOT_VERSION}.tar.gz | sed -e 's/^got-${GOT_VERSION}//' \
-		> got-dist.txt.new
+		| sort > got-dist.txt.new
 	diff -u got-dist.txt got-dist.txt.new
 	rm got-dist.txt.new