Merge pull request #1806 from xexyl/typos-tmp

This commit is contained in:
Landon Curt Noll authored and GitHub committed 2023-12-29 09:03:45 -08:00
commit dc791f61ac
4 files changed
+9 -9

No files matched your search

+5 -5
View File
@@ -6,7 +6,7 @@
# tmp/author_handle.txt and tmp/author.csv and tmp/author-wins.csv. # tmp/author_handle.txt and tmp/author.csv and tmp/author-wins.csv.
# #
# XXX - This is a temporary utility that will be replaced when # XXX - This is a temporary utility that will be replaced when
# the .winner.json files are built # the .winner.json files are built.
# #
# Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. # Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
# #
@@ -92,7 +92,7 @@ while getopts :hv:Vt: flag; do
echo 1>&2 echo 1>&2
echo "$USAGE" 1>&2 echo "$USAGE" 1>&2
;; ;;
*) echo "$0: ERROR: -t optarg must be of the form tool=path" 1>&2 *) echo "$0: ERROR: -t optarg must be of the form -t tool=path" 1>&2
echo 1>&2 echo 1>&2
echo "$USAGE" 1>&2 echo "$USAGE" 1>&2
exit 3 exit 3
@@ -143,7 +143,7 @@ if [[ ! -r $AUTHOR_CSV ]]; then
fi fi
export AUTHOR_WINS="$3" export AUTHOR_WINS="$3"
if [[ ! -r $AUTHOR_WINS ]]; then if [[ ! -r $AUTHOR_WINS ]]; then
echo "$0: ERROR: author-wins.csv.txt not a readable file: $AUTHOR_WINS" echo "$0: ERROR: author-wins.csv not a readable file: $AUTHOR_WINS"
exit 4 exit 4
fi fi
export AUTHOR_DIR="$4" export AUTHOR_DIR="$4"
@@ -170,7 +170,7 @@ if [[ ! -e $JSTRENCODE ]]; then
exit 6 exit 6
fi fi
if [[ ! -f $JSTRENCODE ]]; then if [[ ! -f $JSTRENCODE ]]; then
echo "$0: ERROR: jstrencode is not a file: $JSTRENCODE" 1>&2 echo "$0: ERROR: jstrencode is not a regular file: $JSTRENCODE" 1>&2
exit 6 exit 6
fi fi
if [[ ! -x $JSTRENCODE ]]; then if [[ ! -x $JSTRENCODE ]]; then
@@ -182,7 +182,7 @@ if [[ ! -e $LOCATION ]]; then
exit 6 exit 6
fi fi
if [[ ! -f $LOCATION ]]; then if [[ ! -f $LOCATION ]]; then
echo "$0: ERROR: location is not a file: $LOCATION" 1>&2 echo "$0: ERROR: location is not a regular file: $LOCATION" 1>&2
exit 6 exit 6
fi fi
if [[ ! -x $LOCATION ]]; then if [[ ! -x $LOCATION ]]; then
+2 -2
View File
@@ -4,7 +4,7 @@
# directories under a year # directories under a year
# #
# XXX - This is a temporary utility that will be replaced when # XXX - This is a temporary utility that will be replaced when
# the .winner.json files are built # the .winner.json files are built.
# #
# Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. # Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
# #
@@ -137,7 +137,7 @@ if [[ $status -ne 0 ]]; then
exit 11 exit 11
fi fi
# find files under 4 character dirs # find files under 4 character dirs that aren't .DS_Store or *.dSYM with a depth of at least 2
# #
TMPFILE="tmp/tmp.path_list.found.txt.$$" TMPFILE="tmp/tmp.path_list.found.txt.$$"
trap 'rm -f $TMPFILE; exit' 0 1 2 3 15 trap 'rm -f $TMPFILE; exit' 0 1 2 3 15
+1 -1
View File
@@ -3,7 +3,7 @@
# gen_winner_json.sh - generate .winner.json and inventory.html for a winner # gen_winner_json.sh - generate .winner.json and inventory.html for a winner
# #
# XXX - This is a temporary utility that will be replaced when # XXX - This is a temporary utility that will be replaced when
# the .winner.json files are built # the .winner.json files are built.
# #
# Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. # Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
# #
+1 -1
View File
@@ -153,7 +153,7 @@ if [[ ! -e $WINNER_DIR_TXT ]]; then
exit 4 exit 4
fi fi
if [[ ! -f $WINNER_DIR_TXT ]]; then if [[ ! -f $WINNER_DIR_TXT ]]; then
echo "$0: ERROR: WINNER_DIR_TXT is not a file: $WINNER_DIR_TXT" 1>&2 echo "$0: ERROR: WINNER_DIR_TXT is not a regular file: $WINNER_DIR_TXT" 1>&2
exit 4 exit 4
fi fi
if [[ ! -r $WINNER_DIR_TXT ]]; then if [[ ! -r $WINNER_DIR_TXT ]]; then