diff --git a/src/client/dfuse/pil4dfs/hook_int.h b/src/client/dfuse/pil4dfs/hook_int.h index 7e738024a22..df05f69d5f3 100644 --- a/src/client/dfuse/pil4dfs/hook_int.h +++ b/src/client/dfuse/pil4dfs/hook_int.h @@ -5,8 +5,6 @@ * SPDX-License-Identifier: BSD-2-Clause-Patent */ - -/* dummy change */ #ifndef __HOOK_INT #define __HOOK_INT diff --git a/utils/cq/check_update_copyright.sh b/utils/cq/check_update_copyright.sh index 046bd5e0b56..9540450915c 100755 --- a/utils/cq/check_update_copyright.sh +++ b/utils/cq/check_update_copyright.sh @@ -68,13 +68,11 @@ os=$(uname -s) . utils/githooks/git-version.sh for file in $files; do - echo "DEBUG: Checking $file" if [[ "$file" == *vendor* ]] || [[ "$file" == *pb.go ]] || [[ "$file" == *_string.go ]] || [[ "$file" == *pb-c* ]] || { [ "$mode" == "githook" ] && [ "$git_vercode" -ge 2030000 ] && [ "$(git diff --cached -I Copyright "$file")" = '' ]; }; then - echo "DEBUG: Skipping $file" continue fi read -r y1 y2 <<< "$(sed -nre "s/^.*$regex.*$/\4 \6/p" "$file")" diff --git a/utils/githooks/pre-commit.d/30-Jenkinsfile.sh b/utils/githooks/pre-commit.d/30-Jenkinsfile.sh index 0348e2a8edd..5b1a7519182 100755 --- a/utils/githooks/pre-commit.d/30-Jenkinsfile.sh +++ b/utils/githooks/pre-commit.d/30-Jenkinsfile.sh @@ -23,10 +23,9 @@ echo "Checking syntax" HOST="${HOST:-build.hpdd.intel.com}" CURL_VERBOSE=${CURL_VERBOSE:-""} CURL_PROXY="${CURL_PROXY:+-x }${CURL_PROXY:-}" -CURL_OPTS="$CURL_PROXY $CURL_VERBOSE -s" +CURL_OPTS=($CURL_PROXY $CURL_VERBOSE -s) URL="https://$HOST/pipeline-model-converter/validate" -# shellcheck disable=SC2086 -if ! output=$(curl $CURL_OPTS -s -X POST -F "jenkinsfile=<${1:-Jenkinsfile}" "$URL"); then +if ! output=$(curl "${CURL_OPTS[@]}" -s -X POST -F "jenkinsfile=<${1:-Jenkinsfile}" "$URL"); then echo " Failed to access $URL. Skipping" exit 0 fi