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
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Timo Koch
dune-common
Commits
c273ad93
Commit
c273ad93
authored
17 years ago
by
Christian Engwer
Browse files
Options
Downloads
Patches
Plain Diff
fix issue
#339
[[Imported from SVN: r5048]]
parent
f5ec507d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bin/dunecontrol
+5
-5
5 additions, 5 deletions
bin/dunecontrol
bin/dunemodules.inc
+8
-5
8 additions, 5 deletions
bin/dunemodules.inc
with
13 additions
and
10 deletions
bin/dunecontrol
+
5
−
5
View file @
c273ad93
...
...
@@ -311,7 +311,6 @@ usage () {
# create the module list
create_module_list
()
{
find_modules_in_path
export
FOUND_MODULES
=
$MODULES
if
test
"x
$MODULE
"
=
"x"
;
then
sort_modules
$MODULES
else
...
...
@@ -459,9 +458,7 @@ case "$command" in
;;
export
)
create_module_list
if
test
x.
=
x
$DUNE_CONTROL_PATH
;
then
DUNE_CONTROL_PATH
=
""
fi
DUNE_CONTROL_PATH
=
""
for
mod
in
$MODULES
;
do
if
test
x
!=
x
$DUNE_CONTROL_PATH
;
then
export
DUNE_CONTROL_PATH
=
"
$DUNE_CONTROL_PATH
:
$(
eval echo
\$
PATH_
$mod
/dune.module
)
"
...
...
@@ -470,7 +467,10 @@ case "$command" in
fi
done
echo export
DUNE_CONTROL_PATH
=
$DUNE_CONTROL_PATH
;;
;;
unexport
)
echo export
DUNE_CONTROL_PATH
=
""
;;
help
)
usage
;;
...
...
This diff is collapsed.
Click to expand it.
bin/dunemodules.inc
+
8
−
5
View file @
c273ad93
...
...
@@ -78,12 +78,15 @@ parse_control() {
# search for modules in each directory in DUNE_CONTROL_PATH
#
find_modules_in_path() {
# foreach dir in $@
while
read
dir
;
do
find_modules
$dir
done
<<
EOF
$
(
echo
$DUNE_CONTROL_PATH
|
sed
-
e
's/:/\n/g'
)
if
test
-
z
"
$FOUND_MODULES
"
;
then
# foreach dir in $@
while
read
dir
;
do
find_modules
$dir
done
<<
EOF
$
(
echo
$DUNE_CONTROL_PATH
|
sed
-
e
's/:/\n/g'
)
EOF
fi
export
FOUND_MODULES
=
$MODULES
}
#
...
...
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