[csw-devel] SF.net SVN: gar:[6848] csw/mgar/pkg/cswclassutils/trunk/files/ CSWcswclassutils.i.cswetcservices
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Tue Oct 13 15:02:15 CEST 2009
Revision: 6848
http://gar.svn.sourceforge.net/gar/?rev=6848&view=rev
Author: bdwalton
Date: 2009-10-13 13:02:15 +0000 (Tue, 13 Oct 2009)
Log Message:
-----------
cswclassutils: correct regex used for /etc/services registration detection
Modified Paths:
--------------
csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswetcservices
Modified: csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswetcservices
===================================================================
--- csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswetcservices 2009-10-13 11:48:57 UTC (rev 6847)
+++ csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswetcservices 2009-10-13 13:02:15 UTC (rev 6848)
@@ -29,7 +29,7 @@
fi
- /usr/xpg4/bin/grep -q "^$svcname[[:space:]]$port_proto" $svcfile
+ /usr/xpg4/bin/grep -q "^$svcname[[:space:]].*$port_proto.*$PKGINST" $svcfile
if [ $? -ne 0 ]; then
echo "$svcname $port_proto # $PKGINST" >> $svcfile
fi
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