Skip to content

Commit 2b28fcc

Browse files
committed
Updated CI scripts
1 parent 79717c0 commit 2b28fcc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ci/build-tool

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def readCMakePackagingInformation():
192192
else:
193193
match = re_cmake_project.match(line)
194194
if match != None:
195-
packageInfo['cmake_package'] = match.group(1)
195+
packageInfo['cmake_package_name'] = match.group(1)
196196
cmakeFile.close()
197197

198198
if ('cmake_version_major' in packageInfo) and \
@@ -209,7 +209,7 @@ def readCMakePackagingInformation():
209209
sys.exit(1)
210210

211211
# ====== Check whether information is complete ========================
212-
if ( ( not 'cmake_package' in packageInfo) or
212+
if ( ( not 'cmake_package_name' in packageInfo) or
213213
( not 'cmake_version_string' in packageInfo ) ):
214214
sys.stderr.write('ERROR: Cannot find required package versioning details in ' + packageInfo['cmake_lists_name'] + '!\n')
215215
print(packageInfo)
@@ -562,7 +562,7 @@ def readPackagingInformation():
562562
systemConfigFile = system[2]
563563
if hasPackagingFor(packageInfo, systemPrefix):
564564
sys.stdout.write('Using master versioning from ' + systemName + '.\n')
565-
for entry in [ 'package', 'version_string', 'version_major', 'version_minor', 'version_patch', 'version_extra' ]:
565+
for entry in [ 'package_name', 'version_string', 'version_major', 'version_minor', 'version_patch', 'version_extra' ]:
566566
packageInfo['master_' + entry] = packageInfo[systemPrefix + '_' + entry]
567567
break
568568
if not hasPackagingFor(packageInfo, 'master'):
@@ -601,7 +601,7 @@ def findSourceTarball(packageInfo, quiet = False):
601601
sourceInfo = {}
602602

603603
# ====== Obtain package configuration ====================================
604-
tarballPattern = packageInfo['master_package'] + '-' + packageInfo['master_version_string'] + '.tar.*'
604+
tarballPattern = packageInfo['master_package_name'] + '-' + packageInfo['master_version_string'] + '.tar.*'
605605
if not quiet:
606606
sys.stdout.write('Looking for tarball ' + tarballPattern + ' ... ')
607607
tarballs = glob.glob(tarballPattern) # NOTE: This will also find .tar.xz.asc, etc.!

0 commit comments

Comments
 (0)