[csw-devel] SF.net SVN: gar:[14476] csw/mgar/pkg/cswclassutils/trunk/files/ CSWcswclassutils.i.cswcptemplates
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Sat Apr 30 04:16:23 CEST 2011
Revision: 14476
http://gar.svn.sourceforge.net/gar/?rev=14476&view=rev
Author: bdwalton
Date: 2011-04-30 02:16:23 +0000 (Sat, 30 Apr 2011)
Log Message:
-----------
cswclassutils/trunk: use proper file name to determine owner, group and mode when installing default template config files; mantis id 4762
Modified Paths:
--------------
csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswcptemplates
Modified: csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswcptemplates
===================================================================
--- csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswcptemplates 2011-04-30 01:05:35 UTC (rev 14475)
+++ csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswcptemplates 2011-04-30 02:16:23 UTC (rev 14476)
@@ -122,7 +122,7 @@
else
file=$template
fi
- contents=`grep "^${file} " $PKG_INSTALL_ROOT/var/sadm/install/contents`
+ contents=`grep "^${TEMPLATEDIR}/${PKG}/${file} " $PKG_INSTALL_ROOT/var/sadm/install/contents`
if [ "$contents" ]; then
mode=`echo $contents | awk '{print $4}'`
user=`echo $contents | awk '{print $5}'`
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