am-ft: make the environment available earlier
[platform/upstream/automake.git] / t / header.sh
old mode 100755 (executable)
new mode 100644 (file)
index dc93ac8..b1045d9
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2000-2012 Free Software Foundation, Inc.
+# Copyright (C) 2000-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
@@ -23,7 +23,7 @@
 #  in the HEADERS variable for *all* generated Makefile.ins in the
 #  project.
 
-. ./defs || Exit 1
+. test-init.sh
 
 cat >> configure.ac << 'END'
 AC_SUBST([MY_HEADERS])
@@ -41,5 +41,5 @@ END
 $ACLOCAL
 $AUTOMAKE
 
-grep '[^@]MY_HEADERS' Makefile.in && Exit 1
-Exit 0
+grep '[^@]MY_HEADERS' Makefile.in && exit 1
+exit 0