[Blends-commit] [SCM] website branch, master, updated. 70fa080a5c90ee56bf4f78027f32fe4ebb0e89de

Andreas Tille tille at debian.org
Tue Nov 3 14:56:14 UTC 2015


The following commit has been merged in the master branch:
commit 70fa080a5c90ee56bf4f78027f32fe4ebb0e89de
Author: Andreas Tille <tille at debian.org>
Date:   Tue Nov 3 15:55:55 2015 +0100

    Fix initial clone command for new Blends

diff --git a/webtools/blendstasktools.py b/webtools/blendstasktools.py
index d7a9eac..fce0515 100644
--- a/webtools/blendstasktools.py
+++ b/webtools/blendstasktools.py
@@ -626,7 +626,7 @@ def FetchTasksFiles(data):
     	if os.path.isdir(data['datadir']+'/.git'):
 	    gitcommand = "cd %s; git pull --quiet" % data['datadir']
 	else:
-	    gitcommand = "cd %s; git clone --quiet %s" % (re.sub('/[^/]+$', '', data['datadir']), githtml)
+	    gitcommand = "git clone --quiet %s %s" % (githtml, data['datadir'])
         if os.system(gitcommand):
     	    logger.error("Git command %s failed" % (gitcommand))
     	    if os.path.isdir(data['datadir']+'/.git'):

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list