X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/d5c0d8c9374623620844d539d4810da63e9abca1..8eb8355567a56d3be58aae59741a60824a105110:/release-process/scripts/stats_for_email?ds=sidebyside diff --git a/release-process/scripts/stats_for_email b/release-process/scripts/stats_for_email index 0eb0c2981..45d06b6c1 100755 --- a/release-process/scripts/stats_for_email +++ b/release-process/scripts/stats_for_email @@ -1,16 +1,16 @@ #!/bin/sh -eu okay=false -if [ -d ../../release-process ] && [ "${PWD##*/}" = "pkgs" ]; then - okay=true # we are in right dir -elif [ -d release-process ]; then - b="$(find . -maxdepth 1 -name 'exim-packaging-*' | sort | tail -n 1)" - if [ ".$b" != "." ]; then - cd "$b/pkgs" - okay=true - fi -fi -if ! $okay; then +# if [ -d ../../release-process ] && [ "${PWD##*/}" = "pkgs" ]; then +# okay=true # we are in right dir +# elif [ -d release-process ]; then +# b="$(find . -maxdepth 1 -name 'exim-packaging-*' | sort | tail -n 1)" +# if [ ".$b" != "." ]; then +# cd "$b/pkgs" +# okay=true +# fi +# fi +# if ! $okay; then if [ -d "${1:?need a directory to look in}" ]; then cd "$1" shift @@ -18,7 +18,7 @@ if ! $okay; then printf "%s: %s\n" >&2 "$(basename "$0")" "where should I be looking" exit 1 fi -fi +# fi set $(find "${1:-.}" -name '*.asc' -prune -o -type f -print | cut -c 3- | sort)