mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 15:30:56 +01:00
tools: Fix copying contents of deps/npm
This fixes a platform inconsistency between BSD and GNU `cp` where `deps/npm` would be copied into a subdirectory of `test-npm` on Linux, but not on OS X. PR-URL: https://github.com/nodejs/io.js/pull/1853 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
This commit is contained in:
parent
79bb5e10fb
commit
1baba0580d
@ -13,10 +13,9 @@ if [ -z $NODE_EXE ]; then
|
||||
fi
|
||||
|
||||
rm -rf test-npm
|
||||
mkdir test-npm
|
||||
|
||||
# make a copy of deps/npm to run the tests on
|
||||
cp -r deps/npm/ test-npm/
|
||||
cp -r deps/npm test-npm
|
||||
|
||||
cd test-npm
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user