[csw-devel] SF.net SVN: gar:[7759] csw/mgar/pkg/lutefisk/trunk/files/lutefisk_med_smor

wbonnet at users.sourceforge.net wbonnet at users.sourceforge.net
Sun Dec 27 22:17:00 CET 2009


Revision: 7759
          http://gar.svn.sourceforge.net/gar/?rev=7759&view=rev
Author:   wbonnet
Date:     2009-12-27 21:17:00 +0000 (Sun, 27 Dec 2009)

Log Message:
-----------
Add source to package stats

Modified Paths:
--------------
    csw/mgar/pkg/lutefisk/trunk/files/lutefisk_med_smor

Modified: csw/mgar/pkg/lutefisk/trunk/files/lutefisk_med_smor
===================================================================
--- csw/mgar/pkg/lutefisk/trunk/files/lutefisk_med_smor	2009-12-27 20:41:23 UTC (rev 7758)
+++ csw/mgar/pkg/lutefisk/trunk/files/lutefisk_med_smor	2009-12-27 21:17:00 UTC (rev 7759)
@@ -34,5 +34,6 @@
 packageOsVersion=`echo ${packageTemp} | tr - \  | gawk '{ print $3 }' | gsed -e s/SunOS//`
 packageArch=`echo ${packageTemp} | tr - \  | gawk '{ print $4 }`
 targetOsVersion=`uname -r | gsed -e s/SunOS//`
+packageSource=`echo $1 | tr / \  | gawk '{ i = NF - 3 ; print $i }`
 
-wget "http://www-mockup.opencsw.org/tools/statistics/packageSurvey.php?packageName=${packageName}&packageArch=${packageArch}&packageOsVersion=${packageOsVersion}&targetOsVersion=${targetOsVersion}" -O /dev/null
+wget "http://www-mockup.opencsw.org/tools/statistics/packageSurvey.php?packageName=${packageName}&packageArch=${packageArch}&packageOsVersion=${packageOsVersion}&targetOsVersion=${targetOsVersion}&packageSource=${packageSource}" -O /dev/null


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