start moving beyond PMModelItemInfo
[pspp] / parse-detail-xml
index f0b175e7ab6c1037733f27abbb37d0c72b854906..28fa551dc3b210d4a1ea863eb857e2a2f4ce7107 100755 (executable)
@@ -1,9 +1,9 @@
 #! /bin/sh
 
 # Parse the detail XML members.
-legacyXML=`ls -1 unzipped/*/*.xml |grep -vE 'outputViewer|stats|chart|model'`
+legacyXML=`ls -1 unzipped*/*/*.xml |grep -vE 'outputViewer|stats|chart|model'`
 if test -n "$1"; then
     for d in $legacyXML; do
-       ./parse-xml $d $1
-    done | sort | uniq
+       ./parse-xml $d "$@"
+    done
 fi