]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
tests: Fix the last commit
authorDaiki Ueno <ueno@gnu.org>
Thu, 25 Jun 2015 03:18:55 +0000 (12:18 +0900)
committerDaiki Ueno <ueno@gnu.org>
Thu, 25 Jun 2015 03:18:55 +0000 (12:18 +0900)
gettext-tools/tests/xgettext-c-21

index 966ae802006c6723a5f6d2f412df830aba2b5055..4fdcfe966259ad6e2ae734e5c3818ae089d302cf 100755 (executable)
@@ -6,8 +6,8 @@
 : ${XGETTEXT=xgettext}
 
 ${XGETTEXT} --add-comments --no-location --no-wrap \
-           -o - xg-c-21.c | grep -v 'POT-Creation-Date' > xg-c-21.tmp.po \
-           || exit 1
+           -o - "$abs_srcdir"/xg-c-21.c \
+  | grep -v 'POT-Creation-Date' > xg-c-21.tmp.po || exit 1
 LC_ALL=C tr -d '\r' < xg-c-21.tmp.po > xg-c-21.po || exit 1
 
 cat <<\EOF > xg-c-21.ok