Skip to content

Commit

Permalink
Remove if for amazonlinux
Browse files Browse the repository at this point in the history
  • Loading branch information
jaroslav-fedor-swi committed Oct 11, 2024
1 parent 9687b34 commit 3f7d086
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test/kernel/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,7 @@ fi
mkdir -p "${distro_path}"
pushd "${distro_path}"

if [[ "${distro_name}" == "bento" && "${distro_version}" == "amazonlinux-2" ]]
then
script_distro_name="centos"
else
script_distro_name="${distro_name}"
fi
script_distro_name="${distro_name}"

sed_args=( \
-e "s/PLACEHOLDER_BOX_DISTRO_NAME/${distro_name}/g"
Expand Down

0 comments on commit 3f7d086

Please sign in to comment.