2019-12-13 19:44:34 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# intermediate script to support extra options for regex_check.sh
|
|
|
|
|
|
|
|
# current script dir
|
|
|
|
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
|
|
|
|
|
|
|
|
# support WERROR option
|
|
|
|
[[ $WERROR == "ON" ]] && set -e
|
|
|
|
|
|
|
|
# call regex_check.sh to check repo
|
|
|
|
"$SCRIPT_DIR/../cicd/style/regex_check.sh" \
|
|
|
|
-e '^build[^/]*/' \
|
|
|
|
-e '^.*\.svg$' \
|
2019-12-24 12:32:06 -05:00
|
|
|
-r '(^$)|(^.*[^[:cntrl:][:blank:]]$)' \
|
2019-12-13 19:44:34 -05:00
|
|
|
"$SCRIPT_DIR/.."
|
|
|
|
"$SCRIPT_DIR/../cicd/style/regex_check.sh" \
|
|
|
|
-e '^build[^/]*/' \
|
|
|
|
-r '(^$)|(^.*[^[:cntrl:][:blank:]]$)' \
|
|
|
|
"$SCRIPT_DIR/.."
|
|
|
|
|
|
|
|
exit 0
|