summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2018-12-13 22:48:08 +0100
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2018-12-13 23:11:38 +0100
commitb2758501d772f37e5baa22ed2c379f0a473cffc2 (patch)
tree3dd3e234a7df3573fadebaaa75b44c7c7be41b76
parent525c441c8defd07ec9c1c235eb8ac4da304d70be (diff)
sign_exim_package: do not auto-select the packages directoryexim-4.92-RC1
-rwxr-xr-xrelease-process/scripts/sign_exim_packages27
1 files changed, 13 insertions, 14 deletions
diff --git a/release-process/scripts/sign_exim_packages b/release-process/scripts/sign_exim_packages
index a504ea826..e76840996 100755
--- a/release-process/scripts/sign_exim_packages
+++ b/release-process/scripts/sign_exim_packages
@@ -40,24 +40,24 @@ case "${EXIM_KEY:-default}" in
default|DEFAULT)
gpg_sign() { ${GPG_COMMAND} --detach-sig --armor "${1:?}" ; }
;;
-*)
+*)
gpg_sign() { ${GPG_COMMAND} --local-user "${EXIM_KEY}" --detach-sig --armor "${1:?}" ; }
;;
esac
cd_to() { echo "Working in: $1"; cd "$1"; }
-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_to "$b/pkgs"
- okay=true
- fi
-fi
-if ! $okay; then
+#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_to "$b/pkgs"
+# okay=true
+# fi
+#fi
+#if ! $okay; then
if [ -d "${1:?need a directory to look in}" ]; then
cd_to "$1"
shift
@@ -65,11 +65,10 @@ if ! $okay; then
printf "%s: %s\n" >&2 "$(basename "$0")" "where should I be looking"
exit 1
fi
-fi
+#fi
# Assumes no whitespace (strictly, $IFS) in filenames, which we're okay with
set $(find . -name '*.asc' -prune -o -type f -print | cut -c 3- | sort)
-
for FILE
do
echo "Signing: $FILE"