From c76d30cb82f2ac4264520bf63ac64148c858fd1b Mon Sep 17 00:00:00 2001
From: Marco Clemencic <marco.clemencic@cern.ch>
Date: Tue, 18 Dec 2018 18:28:16 +0100
Subject: [PATCH] correctly handle build_id aliases in lbn-install

---
 python/LbNightlyTools/Scripts/Install.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/python/LbNightlyTools/Scripts/Install.py b/python/LbNightlyTools/Scripts/Install.py
index 28c39844..0be853da 100644
--- a/python/LbNightlyTools/Scripts/Install.py
+++ b/python/LbNightlyTools/Scripts/Install.py
@@ -260,6 +260,8 @@ def requiredPackages(files, slot=None, build_id=None, projects=None, platforms=N
                 log.debug("Adding %s to the list of projects" % proj)
                 projects.append(proj.lower())
 
+    build_id = str(slot_configuration.get('build_id', build_id))
+
     if projects:
         # data packages may have '/' in the name, which is converted in '_'
         # in the tarball filename
-- 
GitLab