mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
tools: use absolute paths in test-npm
Updated test-npm to use absolute paths for tmp/cache/prefix PR-URL: https://github.com/nodejs/node/pull/3309 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
This commit is contained in:
1 parent
ae196175f4
commit
b4f4c24539
1 file changed
+4
-4
+4
-4
@@ -23,10 +23,10 @@ cd test-npm
|
||||
rm -rf npm-cache npm-tmp npm-prefix
|
||||
mkdir npm-cache npm-tmp npm-prefix
|
||||
|
||||
# set some npm env varibles to point to our new temporary folders
|
||||
export npm_config_cache="npm-cache"
|
||||
export npm_config_prefix="npm-prefix"
|
||||
export npm_config_tmp="npm-tmp"
|
||||
# set some npm env variables to point to our new temporary folders
|
||||
export npm_config_cache="$(pwd)/npm-cache"
|
||||
export npm_config_prefix="$(pwd)/npm-prefix"
|
||||
export npm_config_tmp="$(pwd)/npm-tmp"
|
||||
|
||||
# install npm devDependencies and run npm's tests
|
||||
|
||||
|
||||
Reference in new issue
Block a user