Skip to contentSkip to conversation

scripts/oe-pkgdata-util: sort the packages in list-pkg-files

PATCH New Ross Burton 1 participant 1 message Dec 3, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scripts/oe-pkgdata-util: sort the packages in list-pkg-files

Sort the list of packages in list-pkg-files to make the output easier to read.

---
 scripts/oe-pkgdata-util | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/oe-pkgdata-util +1 -1
index cb19cc4..afdceaa 100755
@@ -365,7 +365,7 @@ def list_pkg_files(args):
             sys.exit(1)
         pkglist = args.pkg
 
-    for pkg in pkglist:
+    for pkg in sorted(pkglist):
         print("%s:" % pkg)
         if args.runtime:
             pkgdatafile = os.path.join(args.pkgdata_dir, "runtime-reverse", pkg)
Signature · 1 line
2.1.4