Skip to content

Commit 433f8b2

Browse files
Update build.sh
1 parent afe0ff5 commit 433f8b2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

build.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ ADDON_ARCH="$1"
44
LANGUAGE_NAME="$2"
55
LANGUAGE_VERSION="$3"
66

7+
echo "ADDON_ARCH: $ADDON_ARCH"
8+
echo "LANGUAGE_NAME: $LANGUAGE_NAME"
9+
echo "LANGUAGE_VERSION: $LANGUAGE_VERSION"
10+
711
function map_posix_tools() {
812
tar() {
913
gtar "$@"
@@ -55,12 +59,12 @@ function build_cross_compiled() {
5559

5660
if [[ $LANGUAGE_VERSION -gt 14 ]]
5761
then
58-
echo "The node version is greater than 14."
62+
echo "The node version is greater than 14: $LANGUAGE_VERSION"
5963
install_linux_cross_compiler
6064
build_native
6165

6266
else
63-
echo "The node version is 14 or less."
67+
echo "The node version is 14 or less: $LANGUAGE_VERSION"
6468
case "${ADDON_ARCH}" in
6569
darwin-x64)
6670
install_osx_compiler

0 commit comments

Comments
 (0)