0
0
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:
thefourtheye 2015-05-31 22:48:18 +05:30 committed by Roman Reiss
parent 79bb5e10fb
commit 1baba0580d

View File

@ -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