tests: cosmetic changes in t/extra-sources.sh
[platform/upstream/automake.git] / t / maken.sh
old mode 100755 (executable)
new mode 100644 (file)
index a114422..168a64b
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-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
@@ -19,7 +19,7 @@
 # Also, ensure that 'make -n dist' and 'make -n distcheck' show what
 # would happen, at least when using GNU make.
 
-. ./defs || Exit 1
+. test-init.sh
 
 mkdir sub
 
@@ -52,7 +52,7 @@ $sleep
 for target in dist distcheck; do
   $MAKE -n $target
   if using_gmake; then
-    $MAKE -n $target | grep stamp-sub-dist-hook || Exit 1
+    $MAKE -n $target | grep stamp-sub-dist-hook || exit 1
   fi
   $MAKE test-no-distdir
   # No file has been actually touched or created.