Fix format check warning message by symbolic link (#5777)
author오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Tue, 23 Jul 2019 09:16:51 +0000 (18:16 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Tue, 23 Jul 2019 09:16:51 +0000 (18:16 +0900)
Fix to ignore symbolic link permission check

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
infra/nnfw/command/format-check

index 6a939ca..d1af047 100644 (file)
@@ -49,7 +49,7 @@ check_newline() {
 check_permission() {
     # Check all files except script
     FILES_TO_CHECK=()
-    for NON_SCRIPT_FILE in $(git ls-files -- . ':!:nnfw' ':!:nncc' ':!:*.sh' ':!:*.py' ':!:compiler/' ':!:infra/nncc/'); do
+    for NON_SCRIPT_FILE in $(git ls-files -- . ':!:nnfw' ':!:nncc' ':!:*.sh' ':!:*.py' ':!:compiler/' ':!:infra/nncc/' ':!:scripts/standalone'); do
         FILES_TO_CHECK+=("${NON_SCRIPT_FILE}")
     done