From 152e19088295603bc99a71acd6eb68b723cf37b6 Mon Sep 17 00:00:00 2001 From: Andrew Mogan Date: Fri, 12 Apr 2024 16:57:18 +0200 Subject: [PATCH] Fix name of branch_name variable --- scripts/spack/make-release-repo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/spack/make-release-repo.py b/scripts/spack/make-release-repo.py index 77c5f3809..d33206923 100755 --- a/scripts/spack/make-release-repo.py +++ b/scripts/spack/make-release-repo.py @@ -105,10 +105,10 @@ def copy_release_yaml(self, repo_path, update_hash=False): yaml.dump(self.rdict, outfile, Dumper=MyDumper, default_flow_style=False, sort_keys=False) return - def get_cmake_dependencies(self, package_name, branch_name='develop'): + def get_cmake_dependencies(self, package_name, branch_name): if self.overwrite_branch != '': if check_branch_exists(package_name, self.overwrite_branch): - branch = self.overwrite_branch + branch_name = self.overwrite_branch file_name = "CMakeLists.txt" cmakelists_path = f'https://raw.githubusercontent.com/DUNE-DAQ/{package_name}/{branch_name}/{file_name}' command = f'curl -o {file_name} --fail {cmakelists_path}'