]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
gen-tests: simplify sourcing of helper shell files
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 26 Jul 2012 17:40:49 +0000 (19:40 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 26 Jul 2012 17:59:18 +0000 (19:59 +0200)
This is a follow-up on commit v1.12.2-49-g42fb45b, for an occurrence
of '. "$am_testauxdir"/foo.sh' that wasn't in a test script, but
rather in 'gen-testsuite-part' (ending up in the tests generated by
that script).

* gen-testsuite-part: In the generated 'depcomp*.tap' tests, use
simply:
    . depcomp.sh
rather than:
    . "$am_testauxdir/depcomp.sh"

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
gen-testsuite-part

index 21c26c46d3f97a29c139f3959d1c267cf236ed1d..dee4cddd2b835ecbe9e06b3fb68194eed8ac6e26 100755 (executable)
@@ -361,7 +361,8 @@ foreach my $lt (TRUE, FALSE)
               required="@required"
               . ./defs || exit 1
               plan_ $planned
-              . "\$am_testauxdir/depcomp.sh"; exit \$?
+              . depcomp.sh
+              exit \$?
 EOF
           },
           0555);