diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch2/npm.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/npm.py b/bitbake/lib/bb/fetch2/npm.py index 47898509ff..a39f1c1998 100644 --- a/bitbake/lib/bb/fetch2/npm.py +++ b/bitbake/lib/bb/fetch2/npm.py | |||
@@ -69,8 +69,10 @@ def npm_unpack(tarball, destdir, d): | |||
69 | bb.utils.mkdirhier(destdir) | 69 | bb.utils.mkdirhier(destdir) |
70 | cmd = "tar --extract --gzip --file=%s" % shlex.quote(tarball) | 70 | cmd = "tar --extract --gzip --file=%s" % shlex.quote(tarball) |
71 | cmd += " --no-same-owner" | 71 | cmd += " --no-same-owner" |
72 | cmd += " --delay-directory-restore" | ||
72 | cmd += " --strip-components=1" | 73 | cmd += " --strip-components=1" |
73 | runfetchcmd(cmd, d, workdir=destdir) | 74 | runfetchcmd(cmd, d, workdir=destdir) |
75 | runfetchcmd("chmod -R +X %s" % (destdir), d, quiet=True, workdir=destdir) | ||
74 | 76 | ||
75 | class NpmEnvironment(object): | 77 | class NpmEnvironment(object): |
76 | """ | 78 | """ |