Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b4f4c24

Browse filesBrowse 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 <rod@vagg.org> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
1 parent ae19617 commit b4f4c24
Copy full SHA for b4f4c24

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Open diff view settings
Collapse file

‎tools/test-npm.sh‎

Copy file name to clipboardExpand all lines: tools/test-npm.sh
+4-4Lines changed: 4 additions & 4 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.