summaryrefslogtreecommitdiff
path: root/t/installdir.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/installdir.sh')
-rwxr-xr-xt/installdir.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/installdir.sh b/t/installdir.sh
index dc83ee36d..9b2bc5747 100755
--- a/t/installdir.sh
+++ b/t/installdir.sh
@@ -36,9 +36,9 @@ END
$ACLOCAL
$AUTOMAKE
-test `grep installdirs-local Makefile.in | wc -l` -eq 4
+test $(grep -c installdirs-local Makefile.in) -eq 4
-cwd=`pwd` || fatal_ "getting current working directory"
+cwd=$(pwd) || fatal_ "getting current working directory"
$AUTOCONF
./configure --prefix="$cwd/inst"