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^0 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=e33a448df58d097c7186fd295c6326ffcb1aef5d;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 <