jenkinsfile: switch to replaceall

This commit is contained in:
Nils Andreas Svee committed 2022-11-27 16:09:24 +01:00
1 parent e6ece9493d
commit 610d8bbe98
1 file changed
+1 -1
Vendored
+1 -1
View File
@@ -16,7 +16,7 @@ def getGCCTarget(rust_target) {
// CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER // CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER
def getLinkerEnv(target) { def getLinkerEnv(target) {
return 'CARGO_TARGET_' + target.replace('-', '_').toUpperCase() + '_LINKER' return 'CARGO_TARGET_' + target.replaceAll('-', '_').toUpperCase() + '_LINKER'
} }
pipeline { pipeline {