summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/fields/maintainer/mismatch-between-changes-and-source/build-spec/post-build.in
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/fields/maintainer/mismatch-between-changes-and-source/build-spec/post-build.in')
-rwxr-xr-xt/recipes/checks/fields/maintainer/mismatch-between-changes-and-source/build-spec/post-build.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/recipes/checks/fields/maintainer/mismatch-between-changes-and-source/build-spec/post-build.in b/t/recipes/checks/fields/maintainer/mismatch-between-changes-and-source/build-spec/post-build.in
new file mode 100755
index 0000000..123b424
--- /dev/null
+++ b/t/recipes/checks/fields/maintainer/mismatch-between-changes-and-source/build-spec/post-build.in
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+product="[% $build_product %]"
+
+sed -i 's/^Maintainer:.*$/Maintainer: Unknown <never@heard.of>/' "$product"