Message ID | 20230803010130.2280328-1-Martin.Jansa@gmail.com |
---|---|
State | New, archived |
Headers | show |
Series | [kirkstone] npm.bbclass: avoid DeprecationWarning with new python | expand |
diff --git a/meta/classes/npm.bbclass b/meta/classes/npm.bbclass index 8379c7b988..45e6b4fac7 100644 --- a/meta/classes/npm.bbclass +++ b/meta/classes/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)