[Lunar-commits] CVS: moonbase/devel/subversion/plugin.d download-svn.plugin, 1.3, 1.4

Auke Kok sofar at lunar-linux.org
Thu Apr 7 09:34:33 UTC 2005


Update of /var/cvs/lunar/moonbase/devel/subversion/plugin.d
In directory espresso.foo-projects.org:/home/sofar/active/moonbase/devel/subversion/plugin.d

Modified Files:
	download-svn.plugin 
Log Message:
Adjusted needrefresh calls too


Index: download-svn.plugin
===================================================================
RCS file: /var/cvs/lunar/moonbase/devel/subversion/plugin.d/download-svn.plugin,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- download-svn.plugin	7 Apr 2005 09:27:32 -0000	1.3
+++ download-svn.plugin	7 Apr 2005 09:34:30 -0000	1.4
@@ -98,13 +98,13 @@
   fi
   debug_msg "plugin_source_needrefresh_svn($@)"
 
-  if [ ! -f $2 ]; then
+  if [ ! -f $3/$2 ]; then
     return 0
   fi
 
   SVN_THRESHOLD=${SVN_THRESHOLD:-10}
   if (( "SVN_THRESHOLD" > 0 )) ; then
-	if [ "$(find $2 -amin +$SVN_THRESHOLD)" == "$2" ] ; then
+	if [ "$(find $3/$2 -amin +$SVN_THRESHOLD)" == "$3/$2" ] ; then
       # it is older:
 	  return 0
 	else



More information about the Lunar-commits mailing list