diff --git a/Makefile b/Makefile index 49241b801..bdb0fea20 100644 --- a/Makefile +++ b/Makefile @@ -311,7 +311,7 @@ help: @echo 'make tab_check ;: check for ASCII tabs in markdown files' @echo 'make genpath ;: form top level .top and .allyear, YYYY level .year and winner .path files' @echo 'make genfilelist ;: generate YYYY level .filelist' - @echo 'make all_jfmt ;: be sure all JSON files are canonical + @echo 'make all_jfmt ;: be sure all JSON files are canonical' @echo 'make verify_entry_files ;: check to be sure all files in all entries exist' @echo 'make gen_authors ;: generate the top level authors.html page' @echo 'make quick_authors ;: build authors.html if out of date with author JSON files' diff --git a/bin/entry2csv.sh b/bin/entry2csv.sh index 11a1f4208..4a9ee08dc 100755 --- a/bin/entry2csv.sh +++ b/bin/entry2csv.sh @@ -449,6 +449,23 @@ if [[ ! -x $JVAL_WRAPPER ]]; then fi +# verify that the bin/jfmt-wrapper.sh tool is executable +# +JFMT_WRAPPER="$BIN_DIR/jfmt-wrapper.sh" +if [[ ! -e $JFMT_WRAPPER ]]; then + echo "$0: ERROR: bin/jfmt-wrapper.sh does not exist: $JFMT_WRAPPER" 1>&2 + exit 5 +fi +if [[ ! -f $JFMT_WRAPPER ]]; then + echo "$0: ERROR: bin/jfmt-wrapper.sh is not a regular file: $JFMT_WRAPPER" 1>&2 + exit 5 +fi +if [[ ! -x $JFMT_WRAPPER ]]; then + echo "$0: ERROR: bin/jfmt-wrapper.sh is not an executable file: $JFMT_WRAPPER" 1>&2 + exit 5 +fi + + # verify we have our awk script # export MANIFEST_ENTRY_CSV_ENTRY_AWK="$BIN_DIR/manifest.csv.entry.awk"