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
Tobias Leibner
dune-common
Commits
8f1c047e
Commit
8f1c047e
authored
18 years ago
by
Christian Engwer
Browse files
Options
Downloads
Patches
Plain Diff
expand ~ in opt-file parameters
[[Imported from SVN: r4670]]
parent
19a0d24a
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
+2
-1
2 additions, 1 deletion
bin/dunecontrol
with
2 additions
and
1 deletion
bin/dunecontrol
+
2
−
1
View file @
8f1c047e
...
...
@@ -220,6 +220,7 @@ while test $# -gt 0; do
# stolen from configure...
# when no option is set, this returns an error code
arg
=
`
expr
"x
$option
"
:
'x[^=]*=\(.*\)'
`
arg
=
$(
eval
"echo
$arg
"
)
set
-e
# switch
...
...
@@ -231,7 +232,7 @@ while test $# -gt 0; do
echo
exit
1
;
fi
OPTS_FILE
=
$(
cd
$(
dirname
$arg
)
;
pwd
)
/
$(
basename
$arg
)
OPTS_FILE
=
$(
cd
$(
dirname
$(
readlink
-f
$arg
)
)
;
pwd
)
/
$(
basename
$arg
)
if
!
test
-r
"
$OPTS_FILE
"
;
then
usage
echo
"ERROR: could not read opts file
\"
$OPTS_FILE
\"
"
...
...
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