summaryrefslogtreecommitdiff
path: root/t/txinfo26.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/txinfo26.sh')
-rwxr-xr-xt/txinfo26.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/t/txinfo26.sh b/t/txinfo26.sh
index e336bba79..223a4eaa6 100755
--- a/t/txinfo26.sh
+++ b/t/txinfo26.sh
@@ -46,15 +46,21 @@ $AUTOCONF
$MAKE
$MAKE distclean
-case `pwd` in
+abscwd=$(pwd) || fatal_ "getting current working directory"
+
+case $abscwd in
*\ * | *\ *)
skip_ "this test might fail in a directory containing white spaces";;
esac
mkdir build
cd build
-../configure "--srcdir=`pwd`/.." "--prefix=`pwd`/_inst" "--infodir=`pwd`/_inst/info"
+../configure --srcdir="$abscwd" \
+ --prefix="$abscwd/build/_inst" \
+ --infodir="$abscwd/build/_inst/info"
+
$MAKE install
+
test -f ../main.info
test ! -f ./main.info
test -f _inst/info/main.info