summaryrefslogtreecommitdiffstats
path: root/external/poky/scripts/buildhistory-collect-srcrevs
diff options
context:
space:
mode:
Diffstat (limited to 'external/poky/scripts/buildhistory-collect-srcrevs')
-rwxr-xr-xexternal/poky/scripts/buildhistory-collect-srcrevs13
1 files changed, 2 insertions, 11 deletions
diff --git a/external/poky/scripts/buildhistory-collect-srcrevs b/external/poky/scripts/buildhistory-collect-srcrevs
index d375b045..340bee78 100755
--- a/external/poky/scripts/buildhistory-collect-srcrevs
+++ b/external/poky/scripts/buildhistory-collect-srcrevs
@@ -5,18 +5,8 @@
# Copyright 2013 Intel Corporation
# Authored-by: Paul Eggleton <paul.eggleton@intel.com>
#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import collections
import os
@@ -69,6 +59,7 @@ def main():
all_srcrevs = collections.defaultdict(list)
for root, dirs, files in os.walk(options.buildhistory_dir):
+ dirs.sort()
if '.git' in dirs:
dirs.remove('.git')
for fn in files: