| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7428651 commit e118dd8
5 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -30,91 +30,91 @@ fi | |||
| 30 | 30 | ||
| 31 | 31 | ||
| 32 | 32 | # Dependencies bundled in distributions | |
| 33 | - licenseText="$(cat "${rootdir}"/deps/acorn/acorn/LICENSE)" | ||
| 33 | + licenseText="$(cat "${rootdir}/deps/acorn/acorn/LICENSE")" | ||
| 34 | 34 | addlicense "Acorn" "deps/acorn" "$licenseText" | |
| 35 | - licenseText="$(tail -n +3 "${rootdir}"/deps/cares/LICENSE.md)" | ||
| 35 | + licenseText="$(tail -n +3 "${rootdir}/deps/cares/LICENSE.md")" | ||
| 36 | 36 | addlicense "c-ares" "deps/cares" "$licenseText" | |
| 37 | - licenseText="$(cat "${rootdir}"/deps/cjs-module-lexer/LICENSE)" | ||
| 37 | + licenseText="$(cat "${rootdir}/deps/cjs-module-lexer/LICENSE")" | ||
| 38 | 38 | addlicense "cjs-module-lexer" "deps/cjs-module-lexer" "$licenseText" | |
| 39 | 39 | if [ -f "${rootdir}/deps/icu/LICENSE" ]; then | |
| 40 | 40 | # ICU 57 and following. Drop the BOM | |
| 41 | - licenseText="$(sed -e '1s/^[^a-zA-Z ]*ICU/ICU/' -e :a -e 's/<[^>]*>//g;s/ / /g;s/ +$//;/</N;//ba' "${rootdir}"/deps/icu/LICENSE)" | ||
| 41 | + licenseText="$(sed -e '1s/^[^a-zA-Z ]*ICU/ICU/' -e :a -e 's/<[^>]*>//g;s/ / /g;s/ +$//;/</N;//ba' "${rootdir}/deps/icu/LICENSE")" | ||
| 42 | 42 | addlicense "ICU" "deps/icu" "$licenseText" | |
| 43 | 43 | elif [ -f "${rootdir}/deps/icu/license.html" ]; then | |
| 44 | 44 | # ICU 56 and prior | |
| 45 | - licenseText="$(sed -e '1,/ICU License - ICU 1\.8\.1 and later/d' -e :a -e 's/<[^>]*>//g;s/ / /g;s/ +$//;/</N;//ba' "${rootdir}"/deps/icu/license.html)" | ||
| 45 | + licenseText="$(sed -e '1,/ICU License - ICU 1\.8\.1 and later/d' -e :a -e 's/<[^>]*>//g;s/ / /g;s/ +$//;/</N;//ba' "${rootdir}/deps/icu/license.html")" | ||
| 46 | 46 | addlicense "ICU" "deps/icu" "$licenseText" | |
| 47 | 47 | elif [ -f "${rootdir}/deps/icu-small/LICENSE" ]; then | |
| 48 | 48 | # ICU 57 and following. Drop the BOM | |
| 49 | - licenseText="$(sed -e '1s/^[^a-zA-Z ]*ICU/ICU/' -e :a -e 's/<[^>]*>//g;s/ / /g;s/ +$//;/</N;//ba' "${rootdir}"/deps/icu-small/LICENSE)" | ||
| 49 | + licenseText="$(sed -e '1s/^[^a-zA-Z ]*ICU/ICU/' -e :a -e 's/<[^>]*>//g;s/ / /g;s/ +$//;/</N;//ba' "${rootdir}/deps/icu-small/LICENSE")" | ||
| 50 | 50 | addlicense "ICU" "deps/icu-small" "$licenseText" | |
| 51 | 51 | elif [ -f "${rootdir}/deps/icu-small/license.html" ]; then | |
| 52 | 52 | # ICU 56 and prior | |
| 53 | - licenseText="$(sed -e '1,/ICU License - ICU 1\.8\.1 and later/d' -e :a -e 's/<[^>]*>//g;s/ / /g;s/ +$//;/</N;//ba' "${rootdir}"/deps/icu-small/license.html)" | ||
| 53 | + licenseText="$(sed -e '1,/ICU License - ICU 1\.8\.1 and later/d' -e :a -e 's/<[^>]*>//g;s/ / /g;s/ +$//;/</N;//ba' "${rootdir}/deps/icu-small/license.html")" | ||
| 54 | 54 | addlicense "ICU" "deps/icu-small" "$licenseText" | |
| 55 | 55 | else | |
| 56 | 56 | echo "Could not find an ICU license file." | |
| 57 | 57 | exit 1 | |
| 58 | 58 | fi | |
| 59 | 59 | ||
| 60 | - licenseText="$(cat "${rootdir}"/deps/uv/LICENSE)" | ||
| 60 | + licenseText="$(cat "${rootdir}/deps/uv/LICENSE")" | ||
| 61 | 61 | addlicense "libuv" "deps/uv" "$licenseText" | |
| 62 | 62 | licenseText="$(cat deps/llhttp/LICENSE-MIT)" | |
| 63 | 63 | addlicense "llhttp" "deps/llhttp" "$licenseText" | |
| 64 | - licenseText="$(cat "${rootdir}"/deps/corepack/LICENSE.md)" | ||
| 64 | + licenseText="$(cat "${rootdir}/deps/corepack/LICENSE.md")" | ||
| 65 | 65 | addlicense "corepack" "deps/corepack" "$licenseText" | |
| 66 | - licenseText="$(cat "${rootdir}"/deps/undici/LICENSE)" | ||
| 66 | + licenseText="$(cat "${rootdir}/deps/undici/LICENSE")" | ||
| 67 | 67 | addlicense "undici" "deps/undici" "$licenseText" | |
| 68 | - licenseText="$(cat "${rootdir}"/deps/openssl/openssl/LICENSE.txt)" | ||
| 68 | + licenseText="$(cat "${rootdir}/deps/openssl/openssl/LICENSE.txt")" | ||
| 69 | 69 | addlicense "OpenSSL" "deps/openssl" "$licenseText" | |
| 70 | 70 | licenseText="$(curl -sL https://raw.githubusercontent.com/bestiejs/punycode.js/HEAD/LICENSE-MIT.txt)" | |
| 71 | 71 | addlicense "Punycode.js" "lib/punycode.js" "$licenseText" | |
| 72 | - licenseText="$(cat "${rootdir}"/deps/v8/LICENSE)" | ||
| 72 | + licenseText="$(cat "${rootdir}/deps/v8/LICENSE")" | ||
| 73 | 73 | addlicense "V8" "deps/v8" "$licenseText" | |
| 74 | 74 | licenseText="$(sed -e '/You should have received a copy of the CC0/,$d' -e 's/^\/\* *//' -e 's/^ \* *//' deps/v8/src/third_party/siphash/halfsiphash.cc)" | |
| 75 | 75 | addlicense "SipHash" "deps/v8/src/third_party/siphash" "$licenseText" | |
| 76 | - licenseText="$(sed -e '/The data format used by the zlib library/,$d' -e 's/^\/\* *//' -e 's/^ *//' "${rootdir}"/deps/zlib/zlib.h)" | ||
| 76 | + licenseText="$(sed -e '/The data format used by the zlib library/,$d' -e 's/^\/\* *//' -e 's/^ *//' "${rootdir}/deps/zlib/zlib.h")" | ||
| 77 | 77 | addlicense "zlib" "deps/zlib" "$licenseText" | |
| 78 | 78 | ||
| 79 | 79 | # npm | |
| 80 | - licenseText="$(cat "${rootdir}"/deps/npm/LICENSE)" | ||
| 80 | + licenseText="$(cat "${rootdir}/deps/npm/LICENSE")" | ||
| 81 | 81 | addlicense "npm" "deps/npm" "$licenseText" | |
| 82 | 82 | ||
| 83 | 83 | # Build tools | |
| 84 | - licenseText="$(cat "${rootdir}"/tools/gyp/LICENSE)" | ||
| 84 | + licenseText="$(cat "${rootdir}/tools/gyp/LICENSE")" | ||
| 85 | 85 | addlicense "GYP" "tools/gyp" "$licenseText" | |
| 86 | - licenseText="$(cat "${rootdir}"/tools/inspector_protocol/LICENSE)" | ||
| 86 | + licenseText="$(cat "${rootdir}/tools/inspector_protocol/LICENSE")" | ||
| 87 | 87 | addlicense "inspector_protocol" "tools/inspector_protocol" "$licenseText" | |
| 88 | - licenseText="$(cat "${rootdir}"/tools/inspector_protocol/jinja2/LICENSE)" | ||
| 88 | + licenseText="$(cat "${rootdir}/tools/inspector_protocol/jinja2/LICENSE")" | ||
| 89 | 89 | addlicense "jinja2" "tools/inspector_protocol/jinja2" "$licenseText" | |
| 90 | - licenseText="$(cat "${rootdir}"/tools/inspector_protocol/markupsafe/LICENSE)" | ||
| 90 | + licenseText="$(cat "${rootdir}/tools/inspector_protocol/markupsafe/LICENSE")" | ||
| 91 | 91 | addlicense "markupsafe" "tools/inspector_protocol/markupsafe" "$licenseText" | |
| 92 | 92 | ||
| 93 | 93 | # Testing tools | |
| 94 | - licenseText="$(sed -e '/^$/,$d' -e 's/^#$//' -e 's/^# //' "${rootdir}"/tools/cpplint.py | tail -n +3)" | ||
| 94 | + licenseText="$(sed -e '/^$/,$d' -e 's/^#$//' -e 's/^# //' "${rootdir}/tools/cpplint.py" | tail -n +3)" | ||
| 95 | 95 | addlicense "cpplint.py" "tools/cpplint.py" "$licenseText" | |
| 96 | - licenseText="$(cat "${rootdir}"/tools/node_modules/eslint/LICENSE)" | ||
| 96 | + licenseText="$(cat "${rootdir}/tools/node_modules/eslint/LICENSE")" | ||
| 97 | 97 | addlicense "ESLint" "tools/node_modules/eslint" "$licenseText" | |
| 98 | - licenseText="$(cat "${rootdir}"/deps/googletest/LICENSE)" | ||
| 98 | + licenseText="$(cat "${rootdir}/deps/googletest/LICENSE")" | ||
| 99 | 99 | addlicense "gtest" "deps/googletest" "$licenseText" | |
| 100 | 100 | ||
| 101 | 101 | # nghttp2 | |
| 102 | - licenseText="$(cat "${rootdir}"/deps/nghttp2/COPYING)" | ||
| 102 | + licenseText="$(cat "${rootdir}/deps/nghttp2/COPYING")" | ||
| 103 | 103 | addlicense "nghttp2" "deps/nghttp2" "$licenseText" | |
| 104 | 104 | ||
| 105 | 105 | # large_pages | |
| 106 | - licenseText="$(sed -e '/SPDX-License-Identifier/,$d' -e 's/^\/\///' "${rootdir}"/src/large_pages/node_large_page.h)" | ||
| 106 | + licenseText="$(sed -e '/SPDX-License-Identifier/,$d' -e 's/^\/\///' "${rootdir}/src/large_pages/node_large_page.h")" | ||
| 107 | 107 | addlicense "large_pages" "src/large_pages" "$licenseText" | |
| 108 | 108 | ||
| 109 | 109 | # deep_freeze | |
| 110 | - licenseText="$(sed -e '/SPDX-License-Identifier/,$d' -e 's/^\/\///' "${rootdir}"/lib/internal/freeze_intrinsics.js)" | ||
| 110 | + licenseText="$(sed -e '/SPDX-License-Identifier/,$d' -e 's/^\/\///' "${rootdir}/lib/internal/freeze_intrinsics.js")" | ||
| 111 | 111 | addlicense "caja" "lib/internal/freeze_intrinsics.js" "$licenseText" | |
| 112 | 112 | ||
| 113 | 113 | # brotli | |
| 114 | - licenseText="$(cat "${rootdir}"/deps/brotli/LICENSE)" | ||
| 114 | + licenseText="$(cat "${rootdir}/deps/brotli/LICENSE")" | ||
| 115 | 115 | addlicense "brotli" "deps/brotli" "$licenseText" | |
| 116 | 116 | ||
| 117 | - licenseText="$(cat "${rootdir}"/deps/histogram/LICENSE.txt)" | ||
| 117 | + licenseText="$(cat "${rootdir}/deps/histogram/LICENSE.txt")" | ||
| 118 | 118 | addlicense "HdrHistogram" "deps/histogram" "$licenseText" | |
| 119 | 119 | ||
| 120 | 120 | licenseText="$(curl -sL https://raw.githubusercontent.com/highlightjs/highlight.js/63f367c46f2eeb6f9b7a3545e325eeeb917f9942/LICENSE)" | |
@@ -126,16 +126,16 @@ addlicense "node-heapdump" "src/heap_utils.cc" "$licenseText" | |||
| 126 | 126 | licenseText="$(curl -sL https://raw.githubusercontent.com/isaacs/rimraf/0e365ac4e4d64a25aa2a3cc026348f13410210e1/LICENSE)" | |
| 127 | 127 | addlicense "rimraf" "lib/internal/fs/rimraf.js" "$licenseText" | |
| 128 | 128 | ||
| 129 | - licenseText="$(cat "${rootdir}"/deps/uvwasi/LICENSE)" | ||
| 129 | + licenseText="$(cat "${rootdir}/deps/uvwasi/LICENSE")" | ||
| 130 | 130 | addlicense "uvwasi" "deps/uvwasi" "$licenseText" | |
| 131 | - licenseText="$(cat "${rootdir}"/deps/ngtcp2/LICENSE_ngtcp2)" | ||
| 131 | + licenseText="$(cat "${rootdir}/deps/ngtcp2/LICENSE_ngtcp2")" | ||
| 132 | 132 | addlicense "ngtcp2" "deps/ngtcp2/ngtcp2/" "$licenseText" | |
| 133 | - licenseText="$(cat "${rootdir}"/deps/ngtcp2/LICENSE_nghttp3)" | ||
| 133 | + licenseText="$(cat "${rootdir}/deps/ngtcp2/LICENSE_nghttp3")" | ||
| 134 | 134 | addlicense "nghttp3" "deps/ngtcp2/nghttp3/" "$licenseText" | |
| 135 | 135 | ||
| 136 | 136 | licenseText="$(curl -sL https://raw.githubusercontent.com/jprichardson/node-fs-extra/b34da2762a4865b025cac06d02d6a2f1f1027b65/LICENSE)" | |
| 137 | 137 | addlicense "node-fs-extra" "lib/internal/fs/cp" "$licenseText" | |
| 138 | 138 | ||
| 139 | - addlicense "base64" "deps/base64/base64/" "$(cat "${rootdir}"/deps/base64/base64/LICENSE)" | ||
| 139 | + addlicense "base64" "deps/base64/base64/" "$(cat "${rootdir}/deps/base64/base64/LICENSE" || true)" | ||
| 140 | 140 | ||
| 141 | 141 | mv "$tmplicense" "$licensefile" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,8 +2,8 @@ | |||
| 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 )"/ | ||
| 6 | - DEPS_DIR="$BASE_DIR"deps/ | ||
| 5 | + BASE_DIR="$( pwd )" | ||
| 6 | + DEPS_DIR="$BASE_DIR/deps" | ||
| 7 | 7 | ARES_VERSION=$1 | |
| 8 | 8 | ||
| 9 | 9 | if [ "$#" -le 0 ]; then | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,8 +3,8 @@ set -e | |||
| 3 | 3 | ||
| 4 | 4 | # Shell script to update llhttp in the source tree to specific version | |
| 5 | 5 | ||
| 6 | - BASE_DIR="$( pwd )"/ | ||
| 7 | - DEPS_DIR="${BASE_DIR}deps/" | ||
| 6 | + BASE_DIR="$( pwd )" | ||
| 7 | + DEPS_DIR="${BASE_DIR}/deps" | ||
| 8 | 8 | LLHTTP_VERSION="$1" | |
| 9 | 9 | ||
| 10 | 10 | if [ "$#" -le 0 ]; then | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,8 +2,8 @@ | |||
| 2 | 2 | set -e | |
| 3 | 3 | # Shell script to update nghttp2 in the source tree to specific version | |
| 4 | 4 | ||
| 5 | - BASE_DIR="$( pwd )"/ | ||
| 6 | - DEPS_DIR="$BASE_DIR"deps/ | ||
| 5 | + BASE_DIR="$( pwd )" | ||
| 6 | + DEPS_DIR="$BASE_DIR/deps" | ||
| 7 | 7 | NGHTTP2_VERSION=$1 | |
| 8 | 8 | ||
| 9 | 9 | if [ "$#" -le 0 ]; then | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,8 +2,8 @@ | |||
| 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 )"/ | ||
| 6 | - DEPS_DIR="$BASE_DIR"deps/ | ||
| 5 | + BASE_DIR="$( pwd )" | ||
| 6 | + DEPS_DIR="$BASE_DIR/deps" | ||
| 7 | 7 | NPM_VERSION=$1 | |
| 8 | 8 | ||
| 9 | 9 | if [ "$#" -le 0 ]; then | |
@@ -40,7 +40,7 @@ rm -rf npm/ | |||
| 40 | 40 | ||
| 41 | 41 | echo "Copying new npm" | |
| 42 | 42 | ||
| 43 | - tar zxf "$WORKSPACE"/cli/release/npm-"$NPM_VERSION".tgz | ||
| 43 | + tar zxf "$WORKSPACE/cli/release/npm-$NPM_VERSION.tgz" | ||
| 44 | 44 | ||
| 45 | 45 | echo "" | |
| 46 | 46 | echo "All done!" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments