From: Chris Hanson Date: Thu, 5 Jun 2014 02:51:18 +0000 (-0700) Subject: When enumerating files to process, ignore those generated by this script. X-Git-Tag: release-9.2.0 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=046bf23a7bd2746b3a182feaa60b542bb55a9c6f;p=mit-scheme.git When enumerating files to process, ignore those generated by this script. --- diff --git a/dist/make-upload-files b/dist/make-upload-files index f57ab5e08..eee1bc9f3 100755 --- a/dist/make-upload-files +++ b/dist/make-upload-files @@ -16,6 +16,11 @@ if ! [[ ${VERSION} =~ ^[0-9.]+$ ]]; then fi for FILE in "${@}"; do + # Ignore files written by this script. + [[ ${FILE} == *.directive ]] && continue + [[ ${FILE} == *.asc ]] && continue + [[ ${FILE} == *.sig ]] && continue + rm -f "${FILE}".directive cat > "${FILE}".directive <