Skip to content

Commit

Permalink
tools: use absolute paths in test-npm
Browse files Browse the repository at this point in the history
Updated test-npm to use absolute paths for tmp/cache/prefix

PR-URL: #3309
Reviewed-By: Rod Vagg <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
  • Loading branch information
iarna authored and rvagg committed Oct 22, 2015
1 parent ae19617 commit b4f4c24
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/test-npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b4f4c24

Please sign in to comment.