Skip to content

Commit 370a00f

Browse files
Trottrichardlau
authored andcommitted
tools: make license-builder.sh comply with shellcheck 0.8.0
Fixes for SC2312 added in shellcheck 0.8.0. PR-URL: #41258 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
1 parent f297b6b commit 370a00f

File tree

2 files changed

+191
-100
lines changed

2 files changed

+191
-100
lines changed

LICENSE

Lines changed: 123 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -636,56 +636,129 @@ The externally maintained libraries used by Node.js are:
636636

637637
- OpenSSL, located at deps/openssl, is licensed as follows:
638638
"""
639-
Copyright (c) 1998-2019 The OpenSSL Project. All rights reserved.
640-
641-
Redistribution and use in source and binary forms, with or without
642-
modification, are permitted provided that the following conditions
643-
are met:
644-
645-
1. Redistributions of source code must retain the above copyright
646-
notice, this list of conditions and the following disclaimer.
647-
648-
2. Redistributions in binary form must reproduce the above copyright
649-
notice, this list of conditions and the following disclaimer in
650-
the documentation and/or other materials provided with the
651-
distribution.
652-
653-
3. All advertising materials mentioning features or use of this
654-
software must display the following acknowledgment:
655-
"This product includes software developed by the OpenSSL Project
656-
for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
657-
658-
4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
659-
endorse or promote products derived from this software without
660-
prior written permission. For written permission, please contact
661-
openssl-core@openssl.org.
662-
663-
5. Products derived from this software may not be called "OpenSSL"
664-
nor may "OpenSSL" appear in their names without prior written
665-
permission of the OpenSSL Project.
666-
667-
6. Redistributions of any form whatsoever must retain the following
668-
acknowledgment:
669-
"This product includes software developed by the OpenSSL Project
670-
for use in the OpenSSL Toolkit (http://www.openssl.org/)"
671-
672-
THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
673-
EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
674-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
675-
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
676-
ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
677-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
678-
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
679-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
680-
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
681-
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
682-
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
683-
OF THE POSSIBILITY OF SUCH DAMAGE.
684-
====================================================================
685-
686-
This product includes cryptographic software written by Eric Young
687-
(eay@cryptsoft.com). This product includes software written by Tim
688-
Hudson (tjh@cryptsoft.com).
639+
LICENSE ISSUES
640+
==============
641+
642+
The OpenSSL toolkit stays under a double license, i.e. both the conditions of
643+
the OpenSSL License and the original SSLeay license apply to the toolkit.
644+
See below for the actual license texts.
645+
646+
OpenSSL License
647+
---------------
648+
649+
/* ====================================================================
650+
* Copyright (c) 1998-2019 The OpenSSL Project. All rights reserved.
651+
*
652+
* Redistribution and use in source and binary forms, with or without
653+
* modification, are permitted provided that the following conditions
654+
* are met:
655+
*
656+
* 1. Redistributions of source code must retain the above copyright
657+
* notice, this list of conditions and the following disclaimer.
658+
*
659+
* 2. Redistributions in binary form must reproduce the above copyright
660+
* notice, this list of conditions and the following disclaimer in
661+
* the documentation and/or other materials provided with the
662+
* distribution.
663+
*
664+
* 3. All advertising materials mentioning features or use of this
665+
* software must display the following acknowledgment:
666+
* "This product includes software developed by the OpenSSL Project
667+
* for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
668+
*
669+
* 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
670+
* endorse or promote products derived from this software without
671+
* prior written permission. For written permission, please contact
672+
* openssl-core@openssl.org.
673+
*
674+
* 5. Products derived from this software may not be called "OpenSSL"
675+
* nor may "OpenSSL" appear in their names without prior written
676+
* permission of the OpenSSL Project.
677+
*
678+
* 6. Redistributions of any form whatsoever must retain the following
679+
* acknowledgment:
680+
* "This product includes software developed by the OpenSSL Project
681+
* for use in the OpenSSL Toolkit (http://www.openssl.org/)"
682+
*
683+
* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
684+
* EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
685+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
686+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
687+
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
688+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
689+
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
690+
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
691+
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
692+
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
693+
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
694+
* OF THE POSSIBILITY OF SUCH DAMAGE.
695+
* ====================================================================
696+
*
697+
* This product includes cryptographic software written by Eric Young
698+
* (eay@cryptsoft.com). This product includes software written by Tim
699+
* Hudson (tjh@cryptsoft.com).
700+
*
701+
*/
702+
703+
Original SSLeay License
704+
-----------------------
705+
706+
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
707+
* All rights reserved.
708+
*
709+
* This package is an SSL implementation written
710+
* by Eric Young (eay@cryptsoft.com).
711+
* The implementation was written so as to conform with Netscapes SSL.
712+
*
713+
* This library is free for commercial and non-commercial use as long as
714+
* the following conditions are aheared to. The following conditions
715+
* apply to all code found in this distribution, be it the RC4, RSA,
716+
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
717+
* included with this distribution is covered by the same copyright terms
718+
* except that the holder is Tim Hudson (tjh@cryptsoft.com).
719+
*
720+
* Copyright remains Eric Young's, and as such any Copyright notices in
721+
* the code are not to be removed.
722+
* If this package is used in a product, Eric Young should be given attribution
723+
* as the author of the parts of the library used.
724+
* This can be in the form of a textual message at program startup or
725+
* in documentation (online or textual) provided with the package.
726+
*
727+
* Redistribution and use in source and binary forms, with or without
728+
* modification, are permitted provided that the following conditions
729+
* are met:
730+
* 1. Redistributions of source code must retain the copyright
731+
* notice, this list of conditions and the following disclaimer.
732+
* 2. Redistributions in binary form must reproduce the above copyright
733+
* notice, this list of conditions and the following disclaimer in the
734+
* documentation and/or other materials provided with the distribution.
735+
* 3. All advertising materials mentioning features or use of this software
736+
* must display the following acknowledgement:
737+
* "This product includes cryptographic software written by
738+
* Eric Young (eay@cryptsoft.com)"
739+
* The word 'cryptographic' can be left out if the rouines from the library
740+
* being used are not cryptographic related :-).
741+
* 4. If you include any Windows specific code (or a derivative thereof) from
742+
* the apps directory (application code) you must include an acknowledgement:
743+
* "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
744+
*
745+
* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
746+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
747+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
748+
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
749+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
750+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
751+
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
752+
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
753+
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
754+
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
755+
* SUCH DAMAGE.
756+
*
757+
* The licence and distribution terms for any publically available version or
758+
* derivative of this code cannot be changed. i.e. this code cannot simply be
759+
* copied and put under another distribution licence
760+
* [including the GNU Public Licence.]
761+
*/
689762
"""
690763

691764
- Punycode.js, located at lib/punycode.js, is licensed as follows:

tools/license-builder.sh

Lines changed: 68 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ echo "$licensehead" > "$tmplicense"
1111

1212
# addlicense <library> <location> <license text>
1313
addlicense() {
14+
licenseTextTrimmed=$(echo "$3" | sed -e 's/^/ /' -e 's/^ $//' -e 's/ *$//' | sed -e '/./,$!d' | sed -e '/^$/N;/^\n$/D')
1415

1516
echo "
1617
- ${1}, located at ${2}, is licensed as follows:
1718
\"\"\"
18-
$(echo "$3" | sed -e 's/^/ /' -e 's/^ $//' -e 's/ *$//' | sed -e '/./,$!d' | sed -e '/^$/N;/^\n$/D')
19+
${licenseTextTrimmed}
1920
\"\"\"\
2021
" >> "$tmplicense"
2122

@@ -29,86 +30,103 @@ fi
2930

3031

3132
# Dependencies bundled in distributions
32-
addlicense "Acorn" "deps/acorn" "$(cat "${rootdir}"/deps/acorn/acorn/LICENSE)"
33-
addlicense "c-ares" "deps/cares" "$(tail -n +3 "${rootdir}"/deps/cares/LICENSE.md)"
34-
addlicense "cjs-module-lexer" "deps/cjs-module-lexer" "$(cat "${rootdir}"/deps/cjs-module-lexer/LICENSE)"
33+
licenseText="$(cat "${rootdir}"/deps/acorn/acorn/LICENSE)"
34+
addlicense "Acorn" "deps/acorn" "$licenseText"
35+
licenseText="$(tail -n +3 "${rootdir}"/deps/cares/LICENSE.md)"
36+
addlicense "c-ares" "deps/cares" "$licenseText"
37+
licenseText="$(cat "${rootdir}"/deps/cjs-module-lexer/LICENSE)"
38+
addlicense "cjs-module-lexer" "deps/cjs-module-lexer" "$licenseText"
3539
if [ -f "${rootdir}/deps/icu/LICENSE" ]; then
3640
# ICU 57 and following. Drop the BOM
37-
addlicense "ICU" "deps/icu" \
38-
"$(sed -e '1s/^[^a-zA-Z ]*ICU/ICU/' -e :a \
39-
-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+
addlicense "ICU" "deps/icu" "$licenseText"
4043
elif [ -f "${rootdir}/deps/icu/license.html" ]; then
4144
# ICU 56 and prior
42-
addlicense "ICU" "deps/icu" \
43-
"$(sed -e '1,/ICU License - ICU 1\.8\.1 and later/d' -e :a \
44-
-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+
addlicense "ICU" "deps/icu" "$licenseText"
4547
elif [ -f "${rootdir}/deps/icu-small/LICENSE" ]; then
4648
# ICU 57 and following. Drop the BOM
47-
addlicense "ICU" "deps/icu-small" \
48-
"$(sed -e '1s/^[^a-zA-Z ]*ICU/ICU/' -e :a \
49-
-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+
addlicense "ICU" "deps/icu-small" "$licenseText"
5051
elif [ -f "${rootdir}/deps/icu-small/license.html" ]; then
5152
# ICU 56 and prior
52-
addlicense "ICU" "deps/icu-small" \
53-
"$(sed -e '1,/ICU License - ICU 1\.8\.1 and later/d' -e :a \
54-
-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+
addlicense "ICU" "deps/icu-small" "$licenseText"
5555
else
5656
echo "Could not find an ICU license file."
5757
exit 1
5858
fi
5959

60-
addlicense "libuv" "deps/uv" "$(cat "${rootdir}"/deps/uv/LICENSE)"
61-
addlicense "llhttp" "deps/llhttp" "$(cat deps/llhttp/LICENSE-MIT)"
62-
addlicense "corepack" "deps/corepack" "$(cat "${rootdir}"/deps/corepack/LICENSE.md)"
63-
addlicense "OpenSSL" "deps/openssl" \
64-
"$(sed -e '/^ \*\/$/,$d' -e '/^ [^*].*$/d' -e '/\/\*.*$/d' -e '/^$/d' -e 's/^[/ ]\* *//' "${rootdir}"/deps/openssl/openssl/LICENSE)"
65-
addlicense "Punycode.js" "lib/punycode.js" \
66-
"$(curl -sL https://raw.githubusercontent.com/bestiejs/punycode.js/HEAD/LICENSE-MIT.txt)"
67-
addlicense "V8" "deps/v8" "$(cat "${rootdir}"/deps/v8/LICENSE)"
68-
addlicense "SipHash" "deps/v8/src/third_party/siphash" \
69-
"$(sed -e '/You should have received a copy of the CC0/,$d' -e 's/^\/\* *//' -e 's/^ \* *//' deps/v8/src/third_party/siphash/halfsiphash.cc)"
70-
addlicense "zlib" "deps/zlib" \
71-
"$(sed -e '/The data format used by the zlib library/,$d' -e 's/^\/\* *//' -e 's/^ *//' "${rootdir}"/deps/zlib/zlib.h)"
60+
licenseText="$(cat "${rootdir}"/deps/uv/LICENSE)"
61+
addlicense "libuv" "deps/uv" "$licenseText"
62+
licenseText="$(cat deps/llhttp/LICENSE-MIT)"
63+
addlicense "llhttp" "deps/llhttp" "$licenseText"
64+
licenseText="$(cat "${rootdir}"/deps/corepack/LICENSE.md)"
65+
addlicense "corepack" "deps/corepack" "$licenseText"
66+
licenseText="$(cat "${rootdir}"/deps/openssl/openssl/LICENSE)"
67+
addlicense "OpenSSL" "deps/openssl" "$licenseText"
68+
licenseText="$(curl -sL https://raw.githubusercontent.com/bestiejs/punycode.js/HEAD/LICENSE-MIT.txt)"
69+
addlicense "Punycode.js" "lib/punycode.js" "$licenseText"
70+
licenseText="$(cat "${rootdir}"/deps/v8/LICENSE)"
71+
addlicense "V8" "deps/v8" "$licenseText"
72+
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)"
73+
addlicense "SipHash" "deps/v8/src/third_party/siphash" "$licenseText"
74+
licenseText="$(sed -e '/The data format used by the zlib library/,$d' -e 's/^\/\* *//' -e 's/^ *//' "${rootdir}"/deps/zlib/zlib.h)"
75+
addlicense "zlib" "deps/zlib" "$licenseText"
7276

7377
# npm
74-
addlicense "npm" "deps/npm" "$(cat "${rootdir}"/deps/npm/LICENSE)"
78+
licenseText="$(cat "${rootdir}"/deps/npm/LICENSE)"
79+
addlicense "npm" "deps/npm" "$licenseText"
7580

7681
# Build tools
77-
addlicense "GYP" "tools/gyp" "$(cat "${rootdir}"/tools/gyp/LICENSE)"
78-
addlicense "inspector_protocol" "tools/inspector_protocol" "$(cat "${rootdir}"/tools/inspector_protocol/LICENSE)"
79-
addlicense "jinja2" "tools/inspector_protocol/jinja2" "$(cat "${rootdir}"/tools/inspector_protocol/jinja2/LICENSE)"
80-
addlicense "markupsafe" "tools/inspector_protocol/markupsafe" "$(cat "${rootdir}"/tools/inspector_protocol/markupsafe/LICENSE)"
82+
licenseText="$(cat "${rootdir}"/tools/gyp/LICENSE)"
83+
addlicense "GYP" "tools/gyp" "$licenseText"
84+
licenseText="$(cat "${rootdir}"/tools/inspector_protocol/LICENSE)"
85+
addlicense "inspector_protocol" "tools/inspector_protocol" "$licenseText"
86+
licenseText="$(cat "${rootdir}"/tools/inspector_protocol/jinja2/LICENSE)"
87+
addlicense "jinja2" "tools/inspector_protocol/jinja2" "$licenseText"
88+
licenseText="$(cat "${rootdir}"/tools/inspector_protocol/markupsafe/LICENSE)"
89+
addlicense "markupsafe" "tools/inspector_protocol/markupsafe" "$licenseText"
8190

8291
# Testing tools
83-
addlicense "cpplint.py" "tools/cpplint.py" \
84-
"$(sed -e '/^$/,$d' -e 's/^#$//' -e 's/^# //' "${rootdir}"/tools/cpplint.py | tail -n +3)"
85-
addlicense "ESLint" "tools/node_modules/eslint" "$(cat "${rootdir}"/tools/node_modules/eslint/LICENSE)"
86-
addlicense "Babel" "tools/node_modules/@babel" "$(cat "${rootdir}"/tools/node_modules/@babel/core/LICENSE)"
87-
addlicense "gtest" "deps/googletest" "$(cat "${rootdir}"/deps/googletest/LICENSE)"
92+
licenseText="$(sed -e '/^$/,$d' -e 's/^#$//' -e 's/^# //' "${rootdir}"/tools/cpplint.py | tail -n +3)"
93+
addlicense "cpplint.py" "tools/cpplint.py" "$licenseText"
94+
licenseText="$(cat "${rootdir}"/tools/node_modules/eslint/LICENSE)"
95+
addlicense "ESLint" "tools/node_modules/eslint" "$licenseText"
96+
licenseText="$(cat "${rootdir}"/tools/node_modules/@babel/core/LICENSE)"
97+
addlicense "Babel" "tools/node_modules/@babel" "$licenseText"
98+
licenseText="$(cat "${rootdir}"/deps/googletest/LICENSE)"
99+
addlicense "gtest" "deps/googletest" "$licenseText"
88100

89101
# nghttp2
90-
addlicense "nghttp2" "deps/nghttp2" "$(cat "${rootdir}"/deps/nghttp2/COPYING)"
102+
licenseText="$(cat "${rootdir}"/deps/nghttp2/COPYING)"
103+
addlicense "nghttp2" "deps/nghttp2" "$licenseText"
91104

92105
# large_pages
93-
addlicense "large_pages" "src/large_pages" "$(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+
addlicense "large_pages" "src/large_pages" "$licenseText"
94108

95109
# deep_freeze
96-
addlicense "caja" "lib/internal/freeze_intrinsics.js" "$(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+
addlicense "caja" "lib/internal/freeze_intrinsics.js" "$licenseText"
97112

98113
# brotli
99-
addlicense "brotli" "deps/brotli" "$(cat "${rootdir}"/deps/brotli/LICENSE)"
114+
licenseText="$(cat "${rootdir}"/deps/brotli/LICENSE)"
115+
addlicense "brotli" "deps/brotli" "$licenseText"
100116

101-
addlicense "HdrHistogram" "deps/histogram" "$(cat "${rootdir}"/deps/histogram/LICENSE.txt)"
117+
licenseText="$(cat "${rootdir}"/deps/histogram/LICENSE.txt)"
118+
addlicense "HdrHistogram" "deps/histogram" "$licenseText"
102119

103-
addlicense "highlight.js" "doc/api_assets/highlight.pack.js" \
104-
"$(curl -sL https://raw.githubusercontent.com/highlightjs/highlight.js/63f367c46f2eeb6f9b7a3545e325eeeb917f9942/LICENSE)"
120+
licenseText="$(curl -sL https://raw.githubusercontent.com/highlightjs/highlight.js/63f367c46f2eeb6f9b7a3545e325eeeb917f9942/LICENSE)"
121+
addlicense "highlight.js" "doc/api_assets/highlight.pack.js" "$licenseText"
105122

106-
addlicense "node-heapdump" "src/heap_utils.cc" \
107-
"$(curl -sL https://raw.githubusercontent.com/bnoordhuis/node-heapdump/0ca52441e46241ffbea56a389e2856ec01c48c97/LICENSE)"
123+
licenseText="$(curl -sL https://raw.githubusercontent.com/bnoordhuis/node-heapdump/0ca52441e46241ffbea56a389e2856ec01c48c97/LICENSE)"
124+
addlicense "node-heapdump" "src/heap_utils.cc" "$licenseText"
108125

109-
addlicense "rimraf" "lib/internal/fs/rimraf.js" \
110-
"$(curl -sL https://raw.githubusercontent.com/isaacs/rimraf/0e365ac4e4d64a25aa2a3cc026348f13410210e1/LICENSE)"
126+
licenseText="$(curl -sL https://raw.githubusercontent.com/isaacs/rimraf/0e365ac4e4d64a25aa2a3cc026348f13410210e1/LICENSE)"
127+
addlicense "rimraf" "lib/internal/fs/rimraf.js" "$licenseText"
111128

112-
addlicense "uvwasi" "deps/uvwasi" "$(cat "${rootdir}"/deps/uvwasi/LICENSE)"
129+
licenseText="$(cat "${rootdir}"/deps/uvwasi/LICENSE)"
130+
addlicense "uvwasi" "deps/uvwasi" "$licenseText"
113131

114132
mv "$tmplicense" "$licensefile"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy