aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/fs.py
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-11-13 00:00:15 -0500
committerMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-11-17 00:17:06 -0500
commit2ae96f859583ed1aa1e78df73ba2895a2604fa8b (patch)
treef79fcb39dc05323869537f4b46451710946df14f /mesonbuild/modules/fs.py
parent4997d93b498094248bdc0669d9515f28f7a156ef (diff)
downloadmeson-2ae96f859583ed1aa1e78df73ba2895a2604fa8b.zip
meson-2ae96f859583ed1aa1e78df73ba2895a2604fa8b.tar.gz
meson-2ae96f859583ed1aa1e78df73ba2895a2604fa8b.tar.bz2
fs: replace_suffix
Diffstat (limited to 'mesonbuild/modules/fs.py')
-rw-r--r--mesonbuild/modules/fs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/fs.py b/mesonbuild/modules/fs.py
index 571fe8a..0c8ed8e 100644
--- a/mesonbuild/modules/fs.py
+++ b/mesonbuild/modules/fs.py
@@ -111,7 +111,7 @@ class FSModule(ExtensionModule):
@stringArgs
@noKwargs
- def with_suffix(self, state: 'ModuleState', args: typing.Sequence[str], kwargs: dict) -> ModuleReturnValue:
+ def replace_suffix(self, state: 'ModuleState', args: typing.Sequence[str], kwargs: dict) -> ModuleReturnValue:
if len(args) != 2:
MesonException('method takes exactly two arguments.')
original = PurePath(state.source_root) / state.subdir / args[0]