File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,14 @@ if [ $# -lt 6 ]; then
2525fi
2626
2727ARCH=" amd64"
28+ ARCH_SUFFIX=" x86_64"
2829if [ -n " ${8} " ]; then
2930 if [ " ${8} " = " x86_64" ]; then
3031 ARCH=" amd64"
32+ ARCH_SUFFIX=" x86_64"
3133 elif [ " ${8} " = " aarch64" ]; then
3234 ARCH=" arm64"
35+ ARCH_SUFFIX=" aarch64"
3336 else
3437 echo " ERROR: ARCH must be 'x86_64' or 'aarch64'. If the optional parameter ARCH is not set then 'x86_64' is used."
3538 exit 1
@@ -43,8 +46,8 @@ start_dir="$PWD"
4346iso_dir=" /tmp/iso"
4447working_dir=" ${iso_dir} /"
4548mkdir -p " ${working_dir} "
46- build_name=" ${7} -${ARCH } .iso"
47- [ -z " ${build_name} " ] && build_name=" setup-${RELEASE} -${ARCH } .iso"
49+ build_name=" ${7} -${ARCH_SUFFIX } .iso"
50+ [ -z " ${build_name} " ] && build_name=" setup-${RELEASE} -${ARCH_SUFFIX } .iso"
4851
4952CNI_VERSION=" v${3} "
5053echo " Downloading CNI ${CNI_VERSION} ..."
You can’t perform that action at this time.
0 commit comments