summaryrefslogtreecommitdiff
path: root/t/self-check-sanity.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/self-check-sanity.sh')
-rwxr-xr-xt/self-check-sanity.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/self-check-sanity.sh b/t/self-check-sanity.sh
index 8e31afa1c..508f0c7e3 100755
--- a/t/self-check-sanity.sh
+++ b/t/self-check-sanity.sh
@@ -62,7 +62,7 @@ fi
# We still need a little hack to make ./defs work outside automake's
# tree 'tests' subdirectory. Not a big deal.
-sed "s|^am_top_builddir=.*|am_top_builddir='`pwd`'|" \
+sed "s|^am_top_builddir=.*|am_top_builddir='$(pwd)'|" \
"$am_top_builddir"/defs-static > defs-static
# Redefining *srcdir and *builddir variables in the environment shouldn't
# cause problems