[Lunar-commits] r25704 - moonbase/trunk/devel/bzr/plugin.d

Samuel Verstraete elangelo at lunar-linux.org
Tue Sep 4 18:16:47 CEST 2007


Author: elangelo
Date: 2007-09-04 18:16:47 +0200 (Tue, 04 Sep 2007)
New Revision: 25704

Modified:
   moonbase/trunk/devel/bzr/plugin.d/download-bzr.plugin
Log:
some fixes, thnx tchan
gr,S.


Modified: moonbase/trunk/devel/bzr/plugin.d/download-bzr.plugin
===================================================================
--- moonbase/trunk/devel/bzr/plugin.d/download-bzr.plugin	2007-09-04 04:45:23 UTC (rev 25703)
+++ moonbase/trunk/devel/bzr/plugin.d/download-bzr.plugin	2007-09-04 16:16:47 UTC (rev 25704)
@@ -64,11 +64,11 @@
     if [ -d "$SBASE/.bzr" ] ; then
       cd $SBASE
       verbose_msg "[${TRY}] bzr up"
-      svn up && GOT_BZR="yes" 
+      bzr up && GOT_BZR="yes" 
       cd ${CD}
     else
       verbose_msg "[${TRY}] bzr co $BZR_URL $SBASE"
-      svn co $BZR_URL $SBASE && GOT_BZR="yes"
+      bzr co $BZR_URL $SBASE && GOT_BZR="yes"
     fi
 
     if [ "$?" == "0" ] ; then
@@ -102,7 +102,7 @@
     return 0
   fi
 
-  BZR_THRESHOLD=${SVN_THRESHOLD:-10}
+  BZR_THRESHOLD=${BZR_THRESHOLD:-10}
   if (( "BZR_THRESHOLD" > 0 )) ; then
 	if [ "$(find $3/$2 -amin +$BZR_THRESHOLD)" == "$3/$2" ] ; then
       # it is older:



More information about the Lunar-commits mailing list