Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
François Revol
firmware
Commits
d7897e85
Verified
Commit
d7897e85
authored
Jul 08, 2019
by
Rahix
Browse files
fix(code-style): Error if no sources given
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
8e26bdaf
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/code-style.sh
View file @
d7897e85
...
@@ -12,6 +12,11 @@ if ! command -v python3 >/dev/null 2>&1; then
...
@@ -12,6 +12,11 @@ if ! command -v python3 >/dev/null 2>&1; then
exit
127
exit
127
fi
fi
if
[
"$#"
==
0
]
;
then
echo
"usage:
$0
<source.c> ..."
exit
1
fi
script_dir
=
"
$(
dirname
"
$0
"
)
"
script_dir
=
"
$(
dirname
"
$0
"
)
"
for
source_file
in
"
$@
"
;
do
for
source_file
in
"
$@
"
;
do
...
...
Write
Preview
Supports
Markdown
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