[csw-devel] SF.net SVN: gar:[10211] csw/mgar/gar/v2/bin/mail2maintainer
wbonnet at users.sourceforge.net
wbonnet at users.sourceforge.net
Mon Jun 14 00:56:04 CEST 2010
Revision: 10211
http://gar.svn.sourceforge.net/gar/?rev=10211&view=rev
Author: wbonnet
Date: 2010-06-13 22:56:03 +0000 (Sun, 13 Jun 2010)
Log Message:
-----------
Fix mail2maintainer in order to work with new website
Modified Paths:
--------------
csw/mgar/gar/v2/bin/mail2maintainer
Modified: csw/mgar/gar/v2/bin/mail2maintainer
===================================================================
--- csw/mgar/gar/v2/bin/mail2maintainer 2010-06-13 22:02:32 UTC (rev 10210)
+++ csw/mgar/gar/v2/bin/mail2maintainer 2010-06-13 22:56:03 UTC (rev 10211)
@@ -25,13 +25,13 @@
_PACKAGE="$1"
# This has to be improved. Maintainer is retrieved from the web page. It will be replaced by a sql query
- _MAINTAINER="`wget -q http://www.opencsw.org/packages.php/$_PACKAGE -O- | grep Maintainer | sed -e "s,.*/maintainers/\([^\'\\\"]*\).*,\1,g"`"
+ _MAINTAINER="`wget -q http://www.opencsw.org/packages/$_PACKAGE -O- | grep Maintainer | sed -e "s,.*/maintainers/\([^\'\\\"]*\).*,\1,g"`"
# In case Maintainer string is empty, try to find the maintainer from a gspec file
# It's a bit crappy, but it works in msot cases (but has to be replaced also)
if [ "$_MAINTAINER" -eq "" ] ; then
_PACKAGE="`grep bitname files/*.gspec | awk '{ print $3 }' | head -n 1`"
- _MAINTAINER="`wget -q http://www.opencsw.org/packages.php/$_PACKAGE -O- | grep Maintainer | sed -e "s,.*/maintainers/\([^\'\\\"]*\).*,\1,g"`"
+ _MAINTAINER="`wget -q http://www.opencsw.org/packages/$_PACKAGE -O- | grep Maintainer | sed -e "s,.*/maintainers/\([^\'\\\"]*\).*,\1,g"`"
fi
echo "$_MAINTAINER"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list