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
Lasse Hinrichsen-Bischoff
dune-common
Commits
6ab39d37
Commit
6ab39d37
authored
15 years ago
by
Christian Engwer
Browse files
Options
Downloads
Patches
Plain Diff
commandline BUILDDIR has priority before opts-file BUILDDIR
[[Imported from SVN: r5825]]
parent
16bd381d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/dunecontrol
+6
-8
6 additions, 8 deletions
bin/dunecontrol
with
6 additions
and
8 deletions
bin/dunecontrol
+
6
−
8
View file @
6ab39d37
...
...
@@ -136,8 +136,9 @@ load_opts() {
local
COMMAND
=
$(
echo
$command
|
tr
'[:lower:]'
'[:upper:]'
)
CMD_FLAGS
=
"
$(
eval echo
\$
${
COMMAND
}
_FLAGS
)
"
local
CMD_FLAGS_FROM_FILE
=
""
BUILDDIR
=
$DUNE_BUILDDIR
if
test
"x
$DUNE_OPTS_FILE
"
!=
"x"
;
then
BUILDDIR
=
"
$(
eval
BUILDDIR
=
""
;
.
$DUNE_OPTS_FILE
;
eval echo
\$
BUILDDIR
y
)
"
BUILDDIR
=
"
$(
eval
BUILDDIR
=
""
;
.
$DUNE_OPTS_FILE
;
eval echo
\$
BUILDDIR
)
"
CMD_FLAGS_FROM_FILE
=
"
$(
eval
${
COMMAND
}
_FLAGS
=
""
;
.
$DUNE_OPTS_FILE
;
eval echo
\$
${
COMMAND
}
_FLAGS
)
"
fi
if
test
-n
"
$CMD_FLAGS_FROM_FILE
"
;
then
...
...
@@ -522,13 +523,10 @@ while test $# -gt 0; do
done
;;
--builddir
=
*
)
if
test
"x
$arg
"
=
"x"
;
then
usage
echo
"ERROR: Parameter for --builddir is missing"
>
&2
echo
>
&2
exit
1
;
fi
export
BUILDDIR
=
$arg
export
DUNE_BUILDDIR
=
$arg
;;
--no-builddir
)
export
DUNE_BUILDDIR
=
""
;;
--skipversioncheck
)
export
SKIPVERSIONCHECK
=
yes
...
...
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