[Lunar-commits] <moonbase> svn / cvs: fix these as well.

Auke Kok sofar at foo-projects.org
Thu Apr 17 22:17:57 CEST 2008


commit c8ea37cdd3d4f98088b2737150136fbef01c3127
Author: Auke Kok <auke at foo-projects.org>
Date:   Thu Apr 17 22:17:57 2008 +0200

    svn / cvs: fix these as well.
---
 devel/cvs/plugin.d/download-cvs.plugin        |    2 +-
 devel/subversion/plugin.d/download-svn.plugin |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/devel/cvs/plugin.d/download-cvs.plugin b/devel/cvs/plugin.d/download-cvs.plugin
index c5c0384..a4a9e9a 100644
--- a/devel/cvs/plugin.d/download-cvs.plugin
+++ b/devel/cvs/plugin.d/download-cvs.plugin
@@ -104,7 +104,7 @@ plugin_source_needrefresh_cvs() {
   fi
 
   REPOSITORY_THRESHOLD=${REPOSITORY_THRESHOLD:-10}
-  if (( "CVS_THRESHOLD" > 0 )) ; then
+  if (( "REPOSITORY_THRESHOLD" > 0 )) ; then
     if [ "$(find $3/$2 -amin +$REPOSITORY_THRESHOLD)" == "$3/$2" ] ; then
       # it is older:
       return 0
diff --git a/devel/subversion/plugin.d/download-svn.plugin b/devel/subversion/plugin.d/download-svn.plugin
index 4ab511b..d97cd27 100644
--- a/devel/subversion/plugin.d/download-svn.plugin
+++ b/devel/subversion/plugin.d/download-svn.plugin
@@ -100,7 +100,7 @@ plugin_source_needrefresh_svn() {
   fi
 
   REPOSITORY_THRESHOLD=${REPOSITORY_THRESHOLD:-10}
-  if (( "SVN_THRESHOLD" > 0 )) ; then
+  if (( "REPOSITORY_THRESHOLD" > 0 )) ; then
     if [ "$(find $3/$2 -amin +$REPOSITORY_THRESHOLD)" == "$3/$2" ] ; then
       # it is older:
       return 0


More information about the Lunar-commits mailing list