summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/md5sums/md5sums-traversal/build-spec/pre-control
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/md5sums/md5sums-traversal/build-spec/pre-control')
-rwxr-xr-xt/recipes/checks/md5sums/md5sums-traversal/build-spec/pre-control8
1 files changed, 8 insertions, 0 deletions
diff --git a/t/recipes/checks/md5sums/md5sums-traversal/build-spec/pre-control b/t/recipes/checks/md5sums/md5sums-traversal/build-spec/pre-control
new file mode 100755
index 0000000..3b97b53
--- /dev/null
+++ b/t/recipes/checks/md5sums/md5sums-traversal/build-spec/pre-control
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+builddir="$1"
+
+rm -f "$builddir/md5sums"
+ln -sf ../copyright "$builddir/md5sums"