summaryrefslogtreecommitdiff
path: root/t/lisp5.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/lisp5.sh')
-rwxr-xr-xt/lisp5.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/t/lisp5.sh b/t/lisp5.sh
index 997a56e73..34edf3b57 100755
--- a/t/lisp5.sh
+++ b/t/lisp5.sh
@@ -59,7 +59,9 @@ $ACLOCAL
$AUTOCONF
$AUTOMAKE --add-missing
-./configure --prefix "`pwd`"
+cwd=$(pwd) || fatal_ "getting current working directory"
+
+./configure --prefix "$cwd"
$MAKE
$MAKE test
$MAKE install-test
@@ -69,7 +71,7 @@ $MAKE not-installed
# Fake the absence of emacs.
# *.el files SHOULD be installed by "make install" (and uninstalled
# by "make uninstall").
-./configure EMACS=no --prefix "`pwd`"
+./configure EMACS=no --prefix "$cwd"
$MAKE
$MAKE test
$MAKE install-test