Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Michael Black
OpenXG-RAN
Commits
07678191
Commit
07678191
authored
Jun 12, 2018
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
another script location fix
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
9b51d612
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ci-scripts/checkCodingFormattingRules.sh
ci-scripts/checkCodingFormattingRules.sh
+2
-2
No files found.
ci-scripts/checkCodingFormattingRules.sh
View file @
07678191
...
...
@@ -2,7 +2,7 @@
if
[
$#
-eq
0
]
then
NB_FILES_TO_FORMAT
=
`
astyle
--dry-run
--options
=
scripts/astyle-options.txt
--recursive
*
.c
*
.h |
grep
-c
Formatted
`
NB_FILES_TO_FORMAT
=
`
astyle
--dry-run
--options
=
ci-
scripts/astyle-options.txt
--recursive
*
.c
*
.h |
grep
-c
Formatted
`
echo
"Nb Files that do NOT follow OAI rules:
$NB_FILES_TO_FORMAT
"
exit
0
fi
...
...
@@ -32,7 +32,7 @@ then
EXT
=
"
${
filename
##*.
}
"
if
[
$EXT
=
"c"
]
||
[
$EXT
=
"h"
]
||
[
$EXT
=
"cpp"
]
||
[
$EXT
=
"hpp"
]
then
TO_FORMAT
=
`
astyle
--dry-run
--options
=
scripts/astyle-options.txt
$FULLFILE
|
grep
-c
Formatted
`
TO_FORMAT
=
`
astyle
--dry-run
--options
=
ci-
scripts/astyle-options.txt
$FULLFILE
|
grep
-c
Formatted
`
NB_TO_FORMAT
=
$((
NB_TO_FORMAT
+
TO_FORMAT
))
fi
done
...
...
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