This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

AMEC-1962: sort list of files retrieved from zip archive.

  • Loading branch information...
openAccess committed Oct 17, 2013
1 parent fdd8485 commit acf58068cd0e31a096d2573c6cce06ad42b22d8a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/groovy/org/topazproject/ambra/sip/AddManifest.groovy
@@ -69,7 +69,7 @@ public class AddManifest {
def aeRep = entries.grep(~/${base}\.[^.]+/).minus(ae)
// get a list of secondary objects
- def objs = entries*.minus(~/\.[^.]+$/).unique().minus(base)
+ def objs = entries*.minus(~/\.[^.]+$/).unique().minus(base).sort()
def strkImgs = objs.grep(~/[A-Za-z]+\.[0-9]+\.strk$/)
def figs = objs.grep(~/[A-Za-z]+\.[0-9]+\.g[^.]+$/)
def tbls = objs.grep(~/[A-Za-z]+\.[0-9]+\.t[^.]+$/)

0 comments on commit acf5806

Please sign in to comment.