Skip to content

Commit 1baba05

Browse files
thefourtheyesilverwind
authored andcommitted
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: #1853 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Johan Bergström <[email protected]>
1 parent 79bb5e1 commit 1baba05

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/test-npm.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ if [ -z $NODE_EXE ]; then
1313
fi
1414

1515
rm -rf test-npm
16-
mkdir test-npm
1716

1817
# make a copy of deps/npm to run the tests on
19-
cp -r deps/npm/ test-npm/
18+
cp -r deps/npm test-npm
2019

2120
cd test-npm
2221

0 commit comments

Comments
 (0)