Skip to content

Commit

Permalink
fix archiving
Browse files Browse the repository at this point in the history
  • Loading branch information
Kudo committed Jan 25, 2024
1 parent 3d7176c commit d491091
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/archive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,18 @@ function makeDistPackageDir() {

local jit_suffix=""
local intl_suffix=""
local extra_suffix=""
if [[ ${NO_JIT} != "true" ]]; then
jit_suffix="-jit"
fi

if [[ ${NO_INTL} = "true" ]]; then
intl_suffix="-nointl"
fi
if [[ ${PLATFORM} = "android" && ${EXTERNAL_STARTUP_DATA} = "false" ]]; then
extra_suffix="-nosnapshot"
fi

echo "${DIST_DIR}/packages/v8-${PLATFORM}${jit_suffix}${intl_suffix}"
echo "${DIST_DIR}/packages/v8-${PLATFORM}${jit_suffix}${intl_suffix}${extra_suffix}"
}

DIST_PACKAGE_DIR=$(makeDistPackageDir)
Expand Down

0 comments on commit d491091

Please sign in to comment.