Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
otb
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
213
Issues
213
List
Boards
Labels
Milestones
Merge Requests
11
Merge Requests
11
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Main Repositories
otb
Commits
731eb9e3
Commit
731eb9e3
authored
May 05, 2017
by
Guillaume Pasero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PKG: simplify regex for application help
parent
e0daa71d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
SuperBuild/Packaging/Files/selftester.sh
SuperBuild/Packaging/Files/selftester.sh
+1
-1
No files found.
SuperBuild/Packaging/Files/selftester.sh
View file @
731eb9e3
...
...
@@ -79,7 +79,7 @@ for app in $OTB_APPS; do
echo_and_report
"ERROR: missing cli launcher for application
$app
"
else
CLI_OUTPUT
=
$(
"bin/otbcli_
$app
"
-help
2>&1
)
CLI_FILTER
=
$(
echo
"
${
CLI_OUTPUT
}
"
|
tr
'\n'
' '
|
grep
-E
"^This is the
$app
application, version
.* Parameters:( +(MISSING )?-[0-9a-z]+ .*)+ Examples:.*otbcli_
$app
.*"
)
CLI_FILTER
=
$(
echo
"
${
CLI_OUTPUT
}
"
|
tr
'\n'
' '
|
grep
-E
"^This is the
$app
application, version
.* Parameters: .* Examples:
.*"
)
CLI_FILTER2
=
$(
echo
"
$CLI_FILTER
"
|
grep
-v
'FATAL'
)
if
[
-z
"
$CLI_FILTER2
"
]
;
then
echo_and_report
"ERROR: bin/otbcli_
$app
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment