From 1baba0580d932d7199b8144edc8951a459d569ec Mon Sep 17 00:00:00 2001 From: thefourtheye Date: Sun, 31 May 2015 22:48:18 +0530 Subject: [PATCH] tools: Fix copying contents of deps/npm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Johan Bergström --- tools/test-npm.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/test-npm.sh b/tools/test-npm.sh index 9e7f161e7f5046..397df10c4cfe32 100755 --- a/tools/test-npm.sh +++ b/tools/test-npm.sh @@ -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