build: move automake and aclocal in 'bin' subdir
[platform/upstream/automake.git] / t / compile5.sh
index 0f787cc..42510a6 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2010-2012 Free Software Foundation, Inc.
+# Copyright (C) 2010-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 @@
 # Make sure the file name translation in the 'compile' script works
 # correctly
 
-. ./defs || Exit 1
+. test-init.sh
 
 get_shell_script compile
 
@@ -73,7 +73,7 @@ for sp in '' ' '; do
   res=$(./compile ./cl -L${sp}"$cwd" | sed -e 's/-link -LIBPATH://')
   case $res in
     ?:[\\/]*) ;;
-    *) Exit 1 ;;
+    *) exit 1 ;;
   esac
 done