summaryrefslogtreecommitdiffstats
path: root/t/recipes/odd-inputs/source/debian-source-dir-traversal-1/build-spec/pre-build
blob: 06c7bbe8fe0e188cd387e2f54f85e1765fa8cbff (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

dir="$1"

# link to index file for the lab entry
# - NB: This should not trigger source-contains-unsafe-symlink
#   because the link it self is not unsafe (i.e. it is safe
#   relative to unpacked, but unsafe relative to debfiles)

ln -sf ../../index "$dir/debian/source/git-patches"