summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosef 'Jeff' Sipek <jeffpc@josefsipek.net>2016-04-21 09:39:22 -0400
committerRobert Mustacchi <rm@joyent.com>2016-04-21 16:07:39 -0700
commitcec7ac1b6fa4b80f0536354cbb975d004e78155b (patch)
treed5ffc3ff268088b674109d22c0d3505d04533040
parent26455f9efcf9b1e44937d4d86d1ce37b006f25a9 (diff)
downloadillumos-joyent-cec7ac1b6fa4b80f0536354cbb975d004e78155b.tar.gz
6924 make libc copyright file contents deterministic
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Marcel Telka <marcel@telka.sk> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Robert Mustacchi <rm@joyent.com>
-rw-r--r--usr/src/lib/libc/extract-copyright.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/lib/libc/extract-copyright.pl b/usr/src/lib/libc/extract-copyright.pl
index 2172216ae7..09a35a52e5 100644
--- a/usr/src/lib/libc/extract-copyright.pl
+++ b/usr/src/lib/libc/extract-copyright.pl
@@ -12,6 +12,7 @@
#
# Copyright 2010 Nexenta Systems, Inc. All rights reserved.
+# Copyright 2016 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
#
#
@@ -106,6 +107,9 @@ foreach $a (@ARGV) {
}
}
+# sort files to get a stable ordering to aid wsdiff(1onbld)
+@FILES = sort @FILES;
+
foreach $a (@FILES) {
dofile($a);
}