The rest of the code in this file now matches the coding guidelines,
so clean up the rest.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
# This expands the most probable problem cases like "." and "..".
TEST_SUBDIR=$(dirname "$0")
if [ $(dirname "$TEST_SUBDIR") = "." ] ; then
- TEST_SUBDIR=$(cd "$TEST_SUBDIR" ; pwd)
+ TEST_SUBDIR=$(cd "$TEST_SUBDIR" ; pwd)
fi
# If we are running from within the source tree then, depending on the
fi
case "$_test_bin_dir" in
- /*) : ;;
- *) _test_bin_dir="${PWD}/${_test_bin_dir}" ;;
+/*) : ;;
+*) _test_bin_dir="${PWD}/${_test_bin_dir}" ;;
esac
if [ -d "$_test_bin_dir" ] ; then
- PATH="${_test_bin_dir}:$PATH"
+ PATH="${_test_bin_dir}:$PATH"
fi