diff --git a/templates/nasm-basic.yml b/templates/nasm-basic.yml index 049fa98e33b82647834a205e74831eebc5a2082c..05ac9d403104486b19477fe1c4f60cc974e65613 100644 --- a/templates/nasm-basic.yml +++ b/templates/nasm-basic.yml @@ -129,7 +129,7 @@ build-latest: #Split array in .asm and .c files: asm_files=() c_files=() - for file in "${original_array[@]}"; do + for file in "${files_array[@]}"; do if [[ $file == *.asm ]]; then asm_files+=("$file") elif [[ $file == *.c ]]; then @@ -137,6 +137,9 @@ build-latest: fi done + echo "$asm_files" + echo "c_files" + echo "files_array" #Assemble all .asm files: for asmfile in "${asm_files[@]}"; do