[Lunar-commits] <moonbase> bzr: fixed some more problems in the bzr download plugin

Terry Chan tchan at lunar-linux.org
Mon Oct 27 16:37:40 CET 2008


commit a70f892c7ad521be618a43ceb35149d48968db88
Author: Terry Chan <tchan at lunar-linux.org>
Date:   Mon Oct 27 10:37:40 2008 -0500

    bzr: fixed some more problems in the bzr download plugin
---
 devel/bzr/plugin.d/download-bzr.plugin |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/devel/bzr/plugin.d/download-bzr.plugin b/devel/bzr/plugin.d/download-bzr.plugin
index 384dbdb..8477298 100644
--- a/devel/bzr/plugin.d/download-bzr.plugin
+++ b/devel/bzr/plugin.d/download-bzr.plugin
@@ -91,7 +91,7 @@ plugin_source_download_bzr() {
 
 plugin_source_needrefresh_bzr() {
   # check if we can handle this URL format
-  if [ "${1:0:6}" != "bzr://" -a "${1:0:11}" != "bzr+http://" -a "${1:0:12}" != "bzr+https://" -a "${1:0:10}" != "bzr+ssh://" ] ; then
+  if [ "${1:0:11}" != "bzr+http://" -a "${1:0:12}" != "bzr+https://" -a "${1:0:10}" != "bzr+ssh://" ] ; then
     return 2
   fi
   debug_msg "plugin_source_needrefresh_bzr($@)"


More information about the Lunar-commits mailing list