2010-11-10 Stefano Lattarini <stefano.lattarini@gmail.com>
+ Tests defs: prefer "$curdir" over "`pwd`".
+ * tests/defs.in: We already save the value of `pwd` in $curdir
+ early in the file, so there no need to recalculate it later, when
+ the current working directory is not changed.
+
Tests defs: use `$me' in more error messages.
* tests/defs.in: Also use `$me' in error messages referring to
missing `defs' or `defs.in', since that variable is now defined
curdir=`pwd`
# Make our wrapper scripts accessible by default.
-PATH="`pwd`$PATH_SEPARATOR$PATH"; export PATH
+PATH="$curdir$PATH_SEPARATOR$PATH"; export PATH
## -------------------------------------------------------- ##
esac
# Libtool cannot cope with spaces in the build tree. Our testsuite setup
# cannot cope with spaces in the source tree name for Libtool and gettext
- # tests. Using just "`pwd`" for the check here is ok, since the further
+ # tests. Using just `$curdir' for the check here is ok, since the further
# temporary subdirectory where the test will be run is ensured not to
# contain any space.
- case $testsrcdir,`pwd` in
+ case $testsrcdir,$curdir in
*\ * | *\ *) exit 77;;
esac
ACLOCAL="$ACLOCAL -Wno-syntax -I $top_testsrcdir/m4 $extra_includes -I $aclocaldir"