diff options
Diffstat (limited to 'tests/blogc-git-receiver')
-rwxr-xr-x | tests/blogc-git-receiver/check_post_receive.sh.in | 2 | ||||
-rwxr-xr-x | tests/blogc-git-receiver/check_pre_receive.sh.in | 2 | ||||
-rwxr-xr-x | tests/blogc-git-receiver/check_shell.sh.in | 2 |
3 files changed, 3 insertions, 3 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 diff --git a/tests/blogc-git-receiver/check_pre_receive.sh.in b/tests/blogc-git-receiver/check_pre_receive.sh.in index d70e04a..c2f57ac 100755 --- a/tests/blogc-git-receiver/check_pre_receive.sh.in +++ b/tests/blogc-git-receiver/check_pre_receive.sh.in @@ -17,7 +17,7 @@ trap trap_func EXIT mkdir -p "${TEMP}/repos" git init --bare "${TEMP}/repos/foo.git" &> /dev/null -SELF="${PWD}/blogc-git-receiver" +SELF="@abs_top_builddir@/blogc-git-receiver" ln -s "${SELF}" "${TEMP}/repos/foo.git/hooks/pre-receive" diff --git a/tests/blogc-git-receiver/check_shell.sh.in b/tests/blogc-git-receiver/check_shell.sh.in index 0099df3..1c84b8a 100755 --- a/tests/blogc-git-receiver/check_shell.sh.in +++ b/tests/blogc-git-receiver/check_shell.sh.in @@ -14,7 +14,7 @@ trap_func() { trap trap_func EXIT -SELF="${PWD}/blogc-git-receiver" +SELF="@abs_top_builddir@/blogc-git-receiver" call_bgr() { [[ -n "${VALGRIND}" ]] && export __VALGRIND_ENABLED=1 |