Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Core Modules
dune-common
Commits
df7c56f6
Commit
df7c56f6
authored
4 years ago
by
Christian Engwer
Browse files
Options
Downloads
Plain Diff
Merge branch 'feature/error-when-DUNE_CONTROL_PATH-invalid' into 'master'
[dunecontrol] Error message for invalid path in DUNE_CONTROL_PATH Closes
#242
See merge request
!926
parents
9a4f79ad
45cde702
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!926
[dunecontrol] Error message for invalid path in DUNE_CONTROL_PATH
Pipeline
#33353
passed
4 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/dunemodules.lib
+4
-0
4 additions, 0 deletions
lib/dunemodules.lib
with
4 additions
and
0 deletions
lib/dunemodules.lib
+
4
−
0
View file @
df7c56f6
...
...
@@ -232,6 +232,10 @@ setup_control_path() {
local
TMP
=
""
# foreach dir in $@
while
read dir
;
do
if
!
test
-e
"
$dir
"
;
then
echo
"ERROR: The path
\"
$dir
\"
given in DUNE_CONTROL_PATH does not exist."
exit
1
fi
TMP
=
$TMP
:
"
$(
canonicalname
"
$dir
"
)
"
done
<<
EOF
$(
echo
$DUNE_CONTROL_PATH
|
sed
-e
's/:\+/:/g'
|
tr
':'
'\n'
)
...
...
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