[Project][code_formatter] Fix multiple errors in shell scripts: 21/209221/3
authorErnest Borowski <e.borowski@partner.samsung.com>
Wed, 3 Jul 2019 12:30:15 +0000 (14:30 +0200)
committerErnest Borowski <e.borowski@partner.samsung.com>
Tue, 16 Jul 2019 16:03:30 +0000 (18:03 +0200)
commit4efe407765c57538efc5e5c1bec75351ba6b5c28
tree27398821e5eb20bf3925e0643fcfebc7abdf9491
parentcfa22502ee79607dca090e868f171e9546041133
[Project][code_formatter] Fix multiple errors in shell scripts:

- Use null character as path delimiter in git and find commands.
  It allows file path to contain newlines and other white space characters.
- Add quotes when needed to prevent globbing and word splitting.
- Simplify logic.

Change-Id: I58de7a3bd1e2e3165ada8b7650b2863e1fc95c15
Signed-off-by: Ernest Borowski <e.borowski@partner.samsung.com>
tools/codestyle/c++_clang_formatter.sh
tools/codestyle/code_formatter.sh
tools/codestyle/code_validation.sh
tools/codestyle/cpplint_tizen_dir.sh
tools/codestyle/js_eslint_formatter.sh
tools/redirect-stdout.sh