#! /bin/sh
-# Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# Copyright (C) 2011-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
# Check that we are running from a proper directory: last thing we want
# is to overwrite some random user files.
-test -f ../defs-static && test -f ../defs \
+test -f ../../bin/automake && test -f ../../runtest && test -d ../../t \
|| fatal_ "running from a wrong directory"
test ! -f Makefile.am || mv Makefile.am Makefile.am~ \
if test -f Makefile.am~; then
mv -f Makefile.am~ Makefile.am \
|| fatal_ "failed to restore Makefile.am"
- echo 'TEST_LOG_DRIVER = $(PERL) $(srcdir)/tap-driver' >> Makefile.am \
+ echo 'TEST_LOG_DRIVER = $(srcdir)/tap-driver' >> Makefile.am \
|| fatal_ "failed to update Makefile.am"
$AUTOMAKE Makefile \
|| fatal_ "failed to remake Makefile.in"