Skip to content
Snippets Groups Projects
Commit 758f54d1 authored by Tobias Kregelin's avatar Tobias Kregelin
Browse files

fix array name mismatch

parent 96d5b949
Branches
Tags
No related merge requests found
Pipeline #65988 passed with warnings
...@@ -129,7 +129,7 @@ build-latest: ...@@ -129,7 +129,7 @@ build-latest:
#Split array in .asm and .c files: #Split array in .asm and .c files:
asm_files=() asm_files=()
c_files=() c_files=()
for file in "${original_array[@]}"; do for file in "${files_array[@]}"; do
if [[ $file == *.asm ]]; then if [[ $file == *.asm ]]; then
asm_files+=("$file") asm_files+=("$file")
elif [[ $file == *.c ]]; then elif [[ $file == *.c ]]; then
...@@ -137,6 +137,9 @@ build-latest: ...@@ -137,6 +137,9 @@ build-latest:
fi fi
done done
echo "$asm_files"
echo "c_files"
echo "files_array"
#Assemble all .asm files: #Assemble all .asm files:
for asmfile in "${asm_files[@]}"; do for asmfile in "${asm_files[@]}"; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment