summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/gettext-3
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/gettext-3
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/gettext-3')
-rwxr-xr-xgettext-tools/tests/gettext-34
1 files changed, 2 insertions, 2 deletions
diff --git a/gettext-tools/tests/gettext-3 b/gettext-tools/tests/gettext-3
index 974afd5..51290d4 100755
--- a/gettext-tools/tests/gettext-3
+++ b/gettext-tools/tests/gettext-3
@@ -40,8 +40,8 @@ test -d gt-3/fr_FR || mkdir gt-3/fr_FR
test -d gt-3/fr_FR/LC_MESSAGES || mkdir gt-3/fr_FR/LC_MESSAGES
: ${MSGFMT=msgfmt}
-${MSGFMT} -o gt-3/de_DE/LC_MESSAGES/tstlang.mo ../${srcdir}/gettext-3-1.po
-${MSGFMT} -o gt-3/fr_FR/LC_MESSAGES/tstlang.mo ../${srcdir}/gettext-3-2.po
+${MSGFMT} -o gt-3/de_DE/LC_MESSAGES/tstlang.mo "$abs_srcdir"/gettext-3-1.po
+${MSGFMT} -o gt-3/fr_FR/LC_MESSAGES/tstlang.mo "$abs_srcdir"/gettext-3-2.po
tmpfiles="$tmpfiles gt-3.ok"
cat <<EOF > gt-3.ok