[Lunar-commits] <moonbase> git: fix the damn plugin properly

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


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

    git: fix the damn plugin properly
---
 devel/git/plugin.d/download-git.plugin |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/devel/git/plugin.d/download-git.plugin b/devel/git/plugin.d/download-git.plugin
index 326edd7..90865e2 100644
--- a/devel/git/plugin.d/download-git.plugin
+++ b/devel/git/plugin.d/download-git.plugin
@@ -103,7 +103,7 @@ plugin_source_needrefresh_git() {
   fi
 
   REPOSITORY_THRESHOLD=${REPOSITORY_THRESHOLD:-10}
-  if (( "GIT_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