[Lunar-commits] CVS: moonbase/devel/cvs/plugin.d
download-cvs.plugin, 1.2, 1.3
Auke Kok
sofar at lunar-linux.org
Thu Apr 7 09:35:00 UTC 2005
Update of /var/cvs/lunar/moonbase/devel/cvs/plugin.d
In directory espresso.foo-projects.org:/home/sofar/active/moonbase/devel/cvs/plugin.d
Modified Files:
download-cvs.plugin
Log Message:
Adjusted needrefresh calls too
Index: download-cvs.plugin
===================================================================
RCS file: /var/cvs/lunar/moonbase/devel/cvs/plugin.d/download-cvs.plugin,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- download-cvs.plugin 7 Apr 2005 09:27:28 -0000 1.2
+++ download-cvs.plugin 7 Apr 2005 09:34:26 -0000 1.3
@@ -110,13 +110,13 @@
fi
debug_msg "plugin_source_needrefresh_cvs($@)"
- if [ ! -f $2 ]; then
+ if [ ! -f $3/$2 ]; then
return 0
fi
CVS_THRESHOLD=${CVS_THRESHOLD:-10}
if (( "CVS_THRESHOLD" > 0 )) ; then
- if [ "$(find $2 -amin +$CVS_THRESHOLD)" == "$2" ] ; then
+ if [ "$(find $3/$2 -amin +$CVS_THRESHOLD)" == "$3/$2" ] ; then
# it is older:
return 0
else
More information about the Lunar-commits
mailing list