GeezerVison is showing github.com — tools: allow scripts to run from anywhere · nodejs/node@c63d825
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: tools/update-cares.sh +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
2 | 2 | set -e |
3 | 3 | # Shell script to update c-ares in the source tree to a specific version |
4 | 4 |
|
5 | | -BASE_DIR="$( pwd )" |
| 5 | +BASE_DIR=$(cd "$(dirname "$0")/.." && pwd) |
6 | 6 | DEPS_DIR="$BASE_DIR/deps" |
7 | 7 | ARES_VERSION=$1 |
8 | 8 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: tools/update-llhttp.sh +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
3 | 3 |
|
4 | 4 | # Shell script to update llhttp in the source tree to specific version |
5 | 5 |
|
6 | | -BASE_DIR="$( pwd )" |
| 6 | +BASE_DIR=$(cd "$(dirname "$0")/.." && pwd) |
7 | 7 | DEPS_DIR="${BASE_DIR}/deps" |
8 | 8 | LLHTTP_VERSION="$1" |
9 | 9 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: tools/update-nghttp2.sh +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
2 | 2 | set -e |
3 | 3 | # Shell script to update nghttp2 in the source tree to specific version |
4 | 4 |
|
5 | | -BASE_DIR="$( pwd )" |
| 5 | +BASE_DIR=$(cd "$(dirname "$0")/.." && pwd) |
6 | 6 | DEPS_DIR="$BASE_DIR/deps" |
7 | 7 | NGHTTP2_VERSION=$1 |
8 | 8 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: tools/update-npm.sh +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
2 | 2 | set -e |
3 | 3 | # Shell script to update npm in the source tree to a specific version |
4 | 4 |
|
5 | | -BASE_DIR="$( pwd )" |
| 5 | +BASE_DIR=$(cd "$(dirname "$0")/.." && pwd) |
6 | 6 | DEPS_DIR="$BASE_DIR/deps" |
7 | 7 | NPM_VERSION=$1 |
8 | 8 |
|
|