aboutsummaryrefslogtreecommitdiffstats
path: root/tests/blogc-git-receiver/check_post_receive.sh.in
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2017-01-02 01:42:04 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2017-01-02 01:42:04 +0100
commit45eb3261c0096ab5cacccefd2103aa16b887e605 (patch)
tree1cd1ca3df846efe7bbe7a9c51b074493dd0933af /tests/blogc-git-receiver/check_post_receive.sh.in
parent007f360e8eb3a6bf3d6770681198710fe1fe4d23 (diff)
downloadblogc-45eb3261c0096ab5cacccefd2103aa16b887e605.tar.gz
blogc-45eb3261c0096ab5cacccefd2103aa16b887e605.tar.bz2
blogc-45eb3261c0096ab5cacccefd2103aa16b887e605.zip
tests: use absolute path for binaries
Diffstat (limited to 'tests/blogc-git-receiver/check_post_receive.sh.in')
-rwxr-xr-xtests/blogc-git-receiver/check_post_receive.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/blogc-git-receiver/check_post_receive.sh.in b/tests/blogc-git-receiver/check_post_receive.sh.in
index 925ab31..9c6ded1 100755
--- a/tests/blogc-git-receiver/check_post_receive.sh.in
+++ b/tests/blogc-git-receiver/check_post_receive.sh.in
@@ -17,7 +17,7 @@ trap trap_func EXIT
mkdir -p "${TEMP}/repos"
git init --bare "${TEMP}/repos/foo.git" &> /dev/null
-ln -s "${PWD}/blogc-git-receiver" "${TEMP}/repos/foo.git/hooks/post-receive"
+ln -s "@abs_top_builddir@/blogc-git-receiver" "${TEMP}/repos/foo.git/hooks/post-receive"
cat > "${TEMP}/tmp.txt" <<EOF
blob