X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Fpr2.sh;h=acb3fb8639bd6544419c83a48f047d5989a83005;hb=fe05207b40350b189727351c22871ae5075b186f;hp=ffe4a81d79a0616f86f7bc13a16171c1f0ea26a6;hpb=f4b8c5856fb76889f8a44287c2bf48256f1a2a00;p=platform%2Fupstream%2Fautomake.git diff --git a/t/pr2.sh b/t/pr2.sh index ffe4a81..acb3fb8 100755 --- a/t/pr2.sh +++ b/t/pr2.sh @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 1999-2012 Free Software Foundation, Inc. +# Copyright (C) 1999-2013 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -27,13 +27,10 @@ # to the distribution directory before it creates a templ # subdirectory in the distribution directory. -. ./defs || Exit 1 +. test-init.sh -# Please keep this underquoted and old-style. -cat > configure.ac << 'END' -AC_INIT -AM_INIT_AUTOMAKE(nonesuch, nonesuch) -AC_OUTPUT(README.foo:templ/README.foo.in Makefile) +cat >> configure.ac << 'END' +AC_OUTPUT([README.foo:templ/README.foo.in]) END : > Makefile.am @@ -46,6 +43,6 @@ $AUTOCONF $AUTOMAKE ./configure $MAKE distdir -test -f nonesuch-nonesuch/templ/README.foo.in +test -f $distdir/templ/README.foo.in :