This commit is contained in:
Pierre-Yves Chibon 2015-12-17 17:45:31 +01:00
parent 1dff3ce655
commit 8a58b9049a

View file

@ -218,8 +218,7 @@ def branch_package(ns, pkgname, requested_branches, existing_branches):
if not TEST_ONLY: if not TEST_ONLY:
_invoke(SETUP_PACKAGE, [os.path.join(ns, pkgname)]) _invoke(SETUP_PACKAGE, [os.path.join(ns, pkgname)])
if ns == 'rpms': if ns == 'rpms':
old_place = os.path.join( old_place = os.path.join(GIT_FOLDER, '%s.git' % pkgname)
GIT_FOLDER, '%s.git' % pkgname)
os.symlink(new_place, old_place) os.symlink(new_place, old_place)
# SETUP_PACKAGE creates master # SETUP_PACKAGE creates master
if 'master' in requested_branches: if 'master' in requested_branches: