[Lunar-commits] <moonbase> cvs: use REPOSITORY-THRESHOLD instead of {CVS, SVN, GIT]-THRESHOLD (see ML)
Auke Kok
sofar at foo-projects.org
Wed Apr 2 00:15:01 CEST 2008
commit 7456a9073210ff6b6b517361acb4fb7821f6c684
Author: Christian Riggenbach <criggenbach at magahugu.net>
Date: Wed Apr 2 00:15:01 2008 +0200
cvs: use REPOSITORY-THRESHOLD instead of {CVS,SVN,GIT]-THRESHOLD (see ML)
together with the patch for download.menu in the maillist, this 'update'
starts using the REPOSITORY-THRESHOLD variable instead of CVS-THRESHOLD.
---
devel/cvs/plugin.d/download-cvs.plugin | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/devel/cvs/plugin.d/download-cvs.plugin b/devel/cvs/plugin.d/download-cvs.plugin
index 70526c3..c5c0384 100644
--- a/devel/cvs/plugin.d/download-cvs.plugin
+++ b/devel/cvs/plugin.d/download-cvs.plugin
@@ -103,13 +103,13 @@ plugin_source_needrefresh_cvs() {
return 0
fi
- CVS_THRESHOLD=${CVS_THRESHOLD:-10}
+ REPOSITORY_THRESHOLD=${REPOSITORY_THRESHOLD:-10}
if (( "CVS_THRESHOLD" > 0 )) ; then
- if [ "$(find $3/$2 -amin +$CVS_THRESHOLD)" == "$3/$2" ] ; then
+ if [ "$(find $3/$2 -amin +$REPOSITORY_THRESHOLD)" == "$3/$2" ] ; then
# it is older:
return 0
else
- verbose_msg "CVS update not required for \"$2\" (less than $CVS_THRESHOLD mins old)"
+ verbose_msg "CVS update not required for \"$2\" (less than $REPOSITORY_THRESHOLD mins old)"
# now we can send a FAIL so the next plugins are skipped:
return 1
fi
More information about the Lunar-commits
mailing list