Skip to content

Commit b4f4c24

Browse files
iarnarvagg
authored andcommitted
tools: use absolute paths in test-npm
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]>
1 parent ae19617 commit b4f4c24

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/test-npm.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ cd test-npm
2323
rm -rf npm-cache npm-tmp npm-prefix
2424
mkdir npm-cache npm-tmp npm-prefix
2525

26-
# set some npm env varibles to point to our new temporary folders
27-
export npm_config_cache="npm-cache"
28-
export npm_config_prefix="npm-prefix"
29-
export npm_config_tmp="npm-tmp"
26+
# set some npm env variables to point to our new temporary folders
27+
export npm_config_cache="$(pwd)/npm-cache"
28+
export npm_config_prefix="$(pwd)/npm-prefix"
29+
export npm_config_tmp="$(pwd)/npm-tmp"
3030

3131
# install npm devDependencies and run npm's tests
3232

0 commit comments

Comments
 (0)