summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/format-c-4
diff options
context:
space:
mode:
authorRoumen Petrov <bugtrack@roumenpetrov.info>2014-01-12 19:07:44 +0200
committerDaiki Ueno <ueno@gnu.org>2014-01-28 15:59:38 +0900
commit6e79981d7542606f7c9b91fc4f824fe1a1e05224 (patch)
treeba9f069337b6a60224415ec1705e35f04fc13186 /gettext-tools/tests/format-c-4
parent08f2cace5c62df98385abb36cd61ff1aa6cd1a45 (diff)
downloadexternal_gettext-6e79981d7542606f7c9b91fc4f824fe1a1e05224.zip
external_gettext-6e79981d7542606f7c9b91fc4f824fe1a1e05224.tar.gz
external_gettext-6e79981d7542606f7c9b91fc4f824fe1a1e05224.tar.bz2
tests: use absolute path of source files
Replace ../$srcdir with $abs_srcdir in gettext-tools tests to add support for configuration with absolute path.
Diffstat (limited to 'gettext-tools/tests/format-c-4')
-rwxr-xr-xgettext-tools/tests/format-c-42
1 files changed, 1 insertions, 1 deletions
diff --git a/gettext-tools/tests/format-c-4 b/gettext-tools/tests/format-c-4
index 6a34a84..b5f21bd 100755
--- a/gettext-tools/tests/format-c-4
+++ b/gettext-tools/tests/format-c-4
@@ -8,7 +8,7 @@ trap 'rm -fr $tmpfiles' 1 2 3 15
tmpfiles="$tmpfiles fc4.tmp fc4.pot"
: ${XGETTEXT=xgettext}
-${XGETTEXT} -o fc4.tmp --omit-header --no-location ../${srcdir}/format-c-4-prg.c
+${XGETTEXT} -o fc4.tmp --omit-header --no-location "$abs_srcdir"/format-c-4-prg.c
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
LC_ALL=C tr -d '\r' < fc4.tmp > fc4.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }