Skip to content

Commit

Permalink
Fix typo in build-default-aocx.sh scripts (#90)
Browse files Browse the repository at this point in the history
### Description
Fix a typo in the buid-default-aocx.sh scripts for both d5005 and n6001 platforms. Error is only seen with some versions of bash.
  • Loading branch information
DouglasGroen authored Sep 5, 2023
1 parent ce6b802 commit f52de40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions d5005/scripts/build-default-aocx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if [ "$BOARD" == "all" ] ; then
else
declare -a variant_list=("$BOARD")
fi
echo "Generating default aocx for board variant(s): ${variant_list[@]]}"
echo "Generating default aocx for board variant(s): ${variant_list[@]}"

# Using the same hello_world.cl file for the default source
CL_FILE="bringup/source/hello_world/device/hello_world.cl"
Expand All @@ -58,7 +58,7 @@ echo "Using build flow: '$BSP_FLOW'"
mkdir -p "$BUILD_DIR"
cd "$BUILD_DIR" || exit

for this_variant in "${variant_list[@]]}"
for this_variant in "${variant_list[@]}"
do
echo "---------------------------------------------------------------"
echo "Starting default ${this_variant} aocx compile at: $(date)"
Expand Down
4 changes: 2 additions & 2 deletions n6001/scripts/build-default-aocx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if [ "$BOARD" == "all" ] ; then
else
declare -a variant_list=("$BOARD")
fi
echo "Generating default aocx for board variant(s): ${variant_list[@]]}"
echo "Generating default aocx for board variant(s): ${variant_list[@]}"

# Using the same hello_world.cl file for the default source
CL_FILE="bringup/source/hello_world/device/hello_world.cl"
Expand All @@ -58,7 +58,7 @@ echo "Using build flow: '$BSP_FLOW'"
mkdir -p "$BUILD_DIR"
cd "$BUILD_DIR" || exit

for this_variant in "${variant_list[@]]}"
for this_variant in "${variant_list[@]}"
do
echo "---------------------------------------------------------------"
echo "Starting default ${this_variant} aocx compile at: $(date)"
Expand Down

0 comments on commit f52de40

Please sign in to comment.