xmllint prints to stdout, fix script to handle that

xmllint actually prints to stdout, so we need to catch and redirect
output to make this work. Updated to put the content in target
so the ftp job can pick it up cleanly.

Change-Id: Idef61db6a5ada0d0716ee5ac8201dfc94bda7b61
Reviewed-on: https://review.openstack.org/16462
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
This commit is contained in:
Sean Dague 2012-11-19 15:55:05 -05:00 committed by Jenkins
parent d955e13346
commit 2a153b217d

View File

@ -1,4 +1,4 @@
#!/bin/bash -xe #!/bin/bash -xe
mkdir -p target/ mkdir -p target/
/usr/bin/xmllint -noent $1 'basename $1' /usr/bin/xmllint -noent $1 > target/`basename $1`