summaryrefslogtreecommitdiffstats
path: root/mantools
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-12-12 16:10:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-12-12 16:10:48 +0000
commit295560f294a2fa70aeb29a8c4af750ed458081a8 (patch)
treea3b1ed2421da0bd6a2e53ceb7ce0ba3578ce1b81 /mantools
parentAdding upstream version 3.9.0. (diff)
downloadpostfix-upstream.tar.xz
postfix-upstream.zip
Adding upstream version 3.9.1.upstream/3.9.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mantools')
-rwxr-xr-xmantools/check-snapshot-nonprod3
1 files changed, 3 insertions, 0 deletions
diff --git a/mantools/check-snapshot-nonprod b/mantools/check-snapshot-nonprod
index e18f6aa..b3a038f 100755
--- a/mantools/check-snapshot-nonprod
+++ b/mantools/check-snapshot-nonprod
@@ -9,5 +9,8 @@ postfix-[0-9]*.[0-9]*.[0-9]*)
echo "Error: stable release builds with -DSNAPSHOT" 1>&2, exit 1; }
grep 'CCARGS.*-DNONPROD' conf/makedefs.out && {
echo "Error: stable release builds with -DNONPROD" 1>&2, exit 1; }
+ mail_version=$(sh postfix-env.sh bin/postconf -h mail_version) || exit 1
+ test "postfix-$mail_version" = "$version" || {
+ echo "Error: version '$mail_version' in src/global/mail_version.h does not match version in pathname '$(env - pwd)'" 1>&2; exit 1; }
;;
esac