tests: cosmetic changes in t/extra-sources.sh
[platform/upstream/automake.git] / t / mkdirp-deprecation.sh
old mode 100755 (executable)
new mode 100644 (file)
index 7b8f67f..69a499d
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2012 Free Software Foundation, Inc.
+# Copyright (C) 2012-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
@@ -17,7 +17,7 @@
 # Check that the AM_PROG_MKDIR_P macro is deprecated.  It will be
 # be removed in the next major Automake release.
 
-. ./defs || Exit 1
+. test-init.sh
 
 echo AM_PROG_MKDIR_P >> configure.ac
 : > Makefile.am
@@ -32,7 +32,7 @@ grep_err ()
 
 $ACLOCAL
 
-$AUTOCONF -Werror -Wobsolete 2>stderr && { cat stderr >&2; Exit 1; }
+$AUTOCONF -Werror -Wobsolete 2>stderr && { cat stderr >&2; exit 1; }
 cat stderr >&2
 grep_err