am-ft: make the environment available earlier
[platform/upstream/automake.git] / t / mkinst2.sh
old mode 100755 (executable)
new mode 100644 (file)
index 2a4fb0b..fe6e148
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 1996-2012 Free Software Foundation, Inc.
+# Copyright (C) 1996-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
@@ -16,7 +16,7 @@
 
 # Test to make sure no-installman suppresses man dir creation.
 
-. ./defs || Exit 1
+. test-init.sh
 
 echo AC_OUTPUT >> configure.ac
 
@@ -33,8 +33,8 @@ $AUTOMAKE
 ./configure --prefix "$(pwd)/sub"
 
 $MAKE installdirs
-test ! -d sub/man
+test ! -e sub/man
 $MAKE install
-test ! -d sub/man
+test ! -e sub/man
 
 :