diff options
Diffstat (limited to 'Build/source/texk/web2c/tests/bibtex-openout-test.pl')
-rwxr-xr-x | Build/source/texk/web2c/tests/bibtex-openout-test.pl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/tests/bibtex-openout-test.pl b/Build/source/texk/web2c/tests/bibtex-openout-test.pl index fc8dabfc846..45fd92d1b6f 100755 --- a/Build/source/texk/web2c/tests/bibtex-openout-test.pl +++ b/Build/source/texk/web2c/tests/bibtex-openout-test.pl @@ -1,11 +1,10 @@ #!/usr/bin/env perl # $Id$ -# Copyright 2009, 2010 Karl Berry <tex-live@tug.org>. -# You may freely use, modify and/or distribute this file. +# Public domain. Originally written 2010, Karl Berry. # Check that bibtex respects openout_any. -BEGIN { chomp ($srcdir = $ENV{"srcdir"} || `pwd`); } -require "$srcdir/tests/common-test.pl"; +BEGIN { chomp ($srcdir = $ENV{"srcdir"} || `dirname $0`); } +require "$srcdir/../tests/common-test.pl"; exit (&main ()); |