From: Dan Mick Date: Tue, 19 Jan 2016 00:20:01 +0000 (-0800) Subject: fabfile.py: clear up confusion about location of branches-local X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cd74bc084c9f4a75d401c8d0e1a07da23a6c9975;p=autobuild-ceph.git fabfile.py: clear up confusion about location of branches-local This only affects gitbuilders where branches-local is not 'branches-local' (namely samba) Signed-off-by: Dan Mick --- diff --git a/fabfile.py b/fabfile.py index bb2dd57..b1a1e06 100644 --- a/fabfile.py +++ b/fabfile.py @@ -317,8 +317,8 @@ def _gitbuilder(flavor, git_repo, extra_remotes={}, extra_packages=[], ignore=[] sudo('git checkout %s' % gitbuilder_commit) sudo('ln -s ../build.sh ./') if branches_local_name != 'branches-local': - sudo('mv ./branches-local ./branches-local-orig') - sudo('ln -s ../{branches_local_name} ./branches-local'.format(branches_local_name=branches_local_name)) + sudo('mv ../branches-local ../branches-local-orig') + sudo('ln -s ../branches-local {branches_local_name}'.format(branches_local_name=branches_local_name)) sudo('chown -R autobuild-ceph:autobuild-ceph out') sudo('mv gitbuilder.git.tmp gitbuilder.git') with cd('gitbuilder.git'):