From: Mark Huang Date: Thu, 28 Oct 2004 14:53:05 +0000 (+0000) Subject: - rpmquery 4.3.1 (what ships with FC2) seems to crash if too large of a X-Git-Tag: planetlab-3_0-branch-point~3 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=5c05f51cfa5fa6a5635a176cad4fbdeb7729248c;p=build.git - rpmquery 4.3.1 (what ships with FC2) seems to crash if too large of a queryformat is passed in. Just query "interesting" tags (whatever plc_www/Software/download.php wants). --- diff --git a/packages.sh b/packages.sh index 7a097737..09849bd9 100755 --- a/packages.sh +++ b/packages.sh @@ -6,7 +6,7 @@ # Mark Huang # Copyright (C) 2004 The Trustees of Princeton University # -# $Id: packages.sh,v 1.2 2004/10/27 04:47:02 mlhuang Exp $ +# $Id: packages.sh,v 1.3 2004/10/27 19:38:36 mlhuang Exp $ # xml_escape_pcdata() { @@ -39,12 +39,13 @@ xml_escape_cdata() { -e 's/>/\>/g' } -# All supported tags -TAGS=$(rpm --querytags) +# XXX rpmquery version 4.3.1 crashes if too large of a queryformat is passed +#TAGS=$(rpm --querytags) +TAGS="NAME VERSION RELEASE URL BUILDTIME DESCRIPTION" cat < - +