Skip to content

Commit

Permalink
tools: Fix copying contents of deps/npm
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
thefourtheye authored and silverwind committed Jun 1, 2015
1 parent 79bb5e1 commit 1baba05
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/test-npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1baba05

Please sign in to comment.