summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debian/changelog/sid-and-unstable-match-in-changes/build-spec/post-build.in
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/debian/changelog/sid-and-unstable-match-in-changes/build-spec/post-build.in')
-rwxr-xr-xt/recipes/checks/debian/changelog/sid-and-unstable-match-in-changes/build-spec/post-build.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/changelog/sid-and-unstable-match-in-changes/build-spec/post-build.in b/t/recipes/checks/debian/changelog/sid-and-unstable-match-in-changes/build-spec/post-build.in
new file mode 100755
index 0000000..0048c4d
--- /dev/null
+++ b/t/recipes/checks/debian/changelog/sid-and-unstable-match-in-changes/build-spec/post-build.in
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -e
+
+perl -pi -e 's/(Distribution:\s*)sid/$1unstable/' "[% $build_product %]"