Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dedal
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Harbor Registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EBRAINS RI
Tech Hub
Platform
EBRAINS Software Distribution
dedal
Commits
4d111e5a
Commit
4d111e5a
authored
3 years ago
by
Eric Müller
Browse files
Options
Downloads
Patches
Plain Diff
Fix unset variable (SPACK_GERRIT_REFSPEC ) bug
Change-Id: I7c3c92971d3d16588fd9499a72c155af0b0826fb
parent
03b926ce
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.ci/clone.sh
+2
-2
2 additions, 2 deletions
.ci/clone.sh
with
2 additions
and
2 deletions
.ci/clone.sh
+
2
−
2
View file @
4d111e5a
...
@@ -97,7 +97,7 @@ if [ -n "${SPACK_GERRIT_CHANGE:-}" ] && [ -z "${SPACK_GERRIT_REFSPEC:-}" ]; then
...
@@ -97,7 +97,7 @@ if [ -n "${SPACK_GERRIT_CHANGE:-}" ] && [ -z "${SPACK_GERRIT_REFSPEC:-}" ]; then
else
else
if
[
"
${
change_status
}
"
=
"MERGED"
]
;
then
if
[
"
${
change_status
}
"
=
"MERGED"
]
;
then
echo
"This change depends on an already merged spack changeset! Ignoring.."
>
&2
echo
"This change depends on an already merged spack changeset! Ignoring.."
>
&2
unset
SPACK_GERRIT_REFSPEC
SPACK_GERRIT_REFSPEC
=
""
fi
fi
fi
fi
...
@@ -134,7 +134,7 @@ if [ -n "${SPACK_GERRIT_CHANGE:-}" ] && [ -z "${SPACK_GERRIT_REFSPEC:-}" ]; then
...
@@ -134,7 +134,7 @@ if [ -n "${SPACK_GERRIT_CHANGE:-}" ] && [ -z "${SPACK_GERRIT_REFSPEC:-}" ]; then
fi
fi
# prevent SPACK_GERRIT_REFSPEC from getting checked out again below
# prevent SPACK_GERRIT_REFSPEC from getting checked out again below
unset
SPACK_GERRIT_REFSPEC
SPACK_GERRIT_REFSPEC
=
""
fi
fi
fi
fi
done
done
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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