Merge branch 'micro' into maint
[platform/upstream/automake.git] / t / distcom3.sh
old mode 100755 (executable)
new mode 100644 (file)
index 34ad709..d5dc295
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
+# Copyright (C) 2001-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 @@
 # Test to make sure that non-existing common files are distributed
 # if they are buildable.
 
-. ./defs || Exit 1
+. test-init.sh
 
 cat > Makefile.am << 'END'
 README:
@@ -32,9 +32,9 @@ END
 $ACLOCAL
 
 # Should not warn about missing README, since it is a target.
-$AUTOMAKE --add-missing --gnu >output 2>&1 || { cat output; Exit 1; }
+$AUTOMAKE --add-missing --gnu >output 2>&1 || { cat output; exit 1; }
 cat output
-grep README output && Exit 1
+grep README output && exit 1
 
 sed -n -e '/^DIST_COMMON =.*\\$/ {
    :loop