summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/nmu/changelog-file-symlink/build-spec/pre-build
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/nmu/changelog-file-symlink/build-spec/pre-build')
-rwxr-xr-xt/recipes/checks/nmu/changelog-file-symlink/build-spec/pre-build6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/recipes/checks/nmu/changelog-file-symlink/build-spec/pre-build b/t/recipes/checks/nmu/changelog-file-symlink/build-spec/pre-build
new file mode 100755
index 0000000..ef27d29
--- /dev/null
+++ b/t/recipes/checks/nmu/changelog-file-symlink/build-spec/pre-build
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+dir="$1"
+
+mv "$dir/debian/changelog" "$dir/debian/changelog.old"
+ln -sf changelog.old "$dir/debian/changelog"