Permalink
Browse files

now display readable output

  • Loading branch information...
Olivier Guilyardi
Olivier Guilyardi committed Jun 15, 2006
1 parent 1d108f9 commit 6ba935c046df9dcda36cee039900bfe0dbd6c83e
Showing with 11 additions and 20 deletions.
  1. +11 −20 package-validate.sh
View
@@ -1,22 +1,13 @@
#!/bin/sh
-pear package-validate package2.xml
-pear package-validate package2-ds-array.xml
-pear package-validate package2-ds-csv.xml
-pear package-validate package2-ds-db.xml
-pear package-validate package2-ds-dbdataobject.xml
-pear package-validate package2-ds-dbquery.xml
-pear package-validate package2-ds-dbtable.xml
-pear package-validate package2-ds-mdb2.xml
-pear package-validate package2-ds-rss.xml
-pear package-validate package2-ds-xml.xml
-pear package-validate package2-r-console.xml
-pear package-validate package2-r-csv.xml
-pear package-validate package2-r-htmltable.xml
-pear package-validate package2-r-pager.xml
-pear package-validate package2-r-smarty.xml
-pear package-validate package2-r-xls.xml
-pear package-validate package2-r-xml.xml
-pear package-validate package2-r-xul.xml
-pear package-validate package2-r-htmlsortform.xml
-
+for f in package2*.xml; do
+ printf "Checking $f... "
+ if pear package-validate $f > /dev/null; then
+ echo OK
+ else
+ echo FAILED
+ echo ---------------------------
+ pear package-validate $f
+ echo ---------------------------
+ fi
+done

0 comments on commit 6ba935c

Please sign in to comment.