From f510f3627090a715a65847254005ed81332cae7a Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Sun, 29 Jun 2025 22:28:21 -0700 Subject: [PATCH] improve use of chkentry by cvt-submission.sh Modified `bin/cvt-submission.sh` to use `chkentry(1)` on submissions that are about to be converted into an entry, by using `-P` to ignore permissions. We also ignore any `.DS_Store` files found as they will not be committed to the repo (because of the top level `.gitignore` file). Changed `bin/cvt-submission.sh` VERSION from "2.2.0 2025-06-29" to "2.2.1 2025-06-29". --- bin/cvt-submission.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/cvt-submission.sh b/bin/cvt-submission.sh index 742a959a3..1915a0536 100755 --- a/bin/cvt-submission.sh +++ b/bin/cvt-submission.sh @@ -124,7 +124,7 @@ export LC_ALL="C" # set variables referenced in the usage message # -export VERSION="2.2.0 2025-06-29" +export VERSION="2.2.1 2025-06-29" NAME=$(basename "$0") export NAME export V_FLAG=0 @@ -1453,21 +1453,21 @@ if [[ $V_FLAG -ge 1 ]]; then "-i .auth.json.xz -i .prev -i .submit.sh -i .txz -i .num.sh -i .orig" \ "-i .path -i README.md -i .gitignore -- $YYYY_DIR" 1>&2 "$CHKENTRY_TOOL" -v 1 -i .auth.json.xz -i .prev -i .submit.sh -i .txz -i .num.sh -i .orig \ - -i .path -i README.md -i .gitignore -- "$YYYY_DIR" + -i .path -i README.md -i .gitignore -i .DS_Store -P -- "$YYYY_DIR" status="$?" if [[ $status -ne 0 ]]; then echo "$0: ERROR: $CHKENTRY_TOOL -v 1 -i .auth.json.xz -i .prev -i .submit.sh -i .txz -i .num.sh -i .orig" \ - "-i .path -i README.md -i .gitignore -- $YYYY_DIR failed," \ + "-i .path -i README.md -i .gitignore -i .DS_Store -P -- $YYYY_DIR failed," \ "error code: $status" 1>&2 exit 7 fi else "$CHKENTRY_TOOL" -i .auth.json.xz -i .prev -i .submit.sh -i .txz -i .num.sh -i .orig \ - -i .path -i README.md -i .gitignore -- "$YYYY_DIR" + -i .path -i README.md -i .gitignore -i .DS_Store -P -- "$YYYY_DIR" status="$?" if [[ $status -ne 0 ]]; then echo "$0: $CHKENTRY_TOOL -i .auth.json.xz -i .prev -i .submit.sh -i .txz -i .num.sh -i .orig" \ - "-i .path -i README.md -i .gitignore -- $YYYY_DIR failed," \ + "-i .path -i README.md -i .gitignore -i .DS_Store -P -- $YYYY_DIR failed," \ "error code: $status" 1>&2 exit 7 fi