diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2023-03-13 21:50:37 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-14 17:12:15 +0000 |
commit | 47f102cfbbaa83d17999747233a81f1b570f448e (patch) | |
tree | e41f964c51a13506786f8746ebaaffa923616627 | |
parent | b7c51fe740f00f60c591099fe5c2155b2126068c (diff) | |
download | openembedded-core-47f102cfbbaa83d17999747233a81f1b570f448e.tar.gz |
npm.bbclass: avoid DeprecationWarning with new python
meta/classes-recipe/npm.bbclass:85: DeprecationWarning: invalid escape sequence '\.'
'--transform', 's,^\./,package/,',
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes-recipe/npm.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/npm.bbclass b/meta/classes-recipe/npm.bbclass index 20350cea25..639f461a3a 100644 --- a/meta/classes-recipe/npm.bbclass +++ b/meta/classes-recipe/npm.bbclass @@ -82,7 +82,7 @@ def npm_pack(env, srcdir, workdir): subprocess.run(['tar', 'czf', tarball, '--exclude', './node-modules', '--exclude-vcs', - '--transform', 's,^\./,package/,', + '--transform', r's,^\./,package/,', '--mtime', '1985-10-26T08:15:00.000Z', '.'], check = True, cwd = srcdir) |