Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Components
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rechnerarchitektur
Components
Commits
758f54d1
Commit
758f54d1
authored
4 months ago
by
Tobias Kregelin
Browse files
Options
Downloads
Patches
Plain Diff
fix array name mismatch
parent
96d5b949
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#65988
passed with warnings
4 months ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/nasm-basic.yml
+4
-1
4 additions, 1 deletion
templates/nasm-basic.yml
with
4 additions
and
1 deletion
templates/nasm-basic.yml
+
4
−
1
View file @
758f54d1
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment