X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Fdistcheck-hook2.sh;h=e430a53994560abb4cb2c8de1d1372df66daa310;hb=a7c00e1935726a32dca6871dd0f1b7eda28d0a5b;hp=93446b3bc558a8eb1bc1efdeea60325200dd5fb5;hpb=f4b8c5856fb76889f8a44287c2bf48256f1a2a00;p=platform%2Fupstream%2Fautomake.git diff --git a/t/distcheck-hook2.sh b/t/distcheck-hook2.sh old mode 100755 new mode 100644 index 93446b3..e430a53 --- a/t/distcheck-hook2.sh +++ b/t/distcheck-hook2.sh @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2011-2012 Free Software Foundation, Inc. +# Copyright (C) 2011-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 @@ -18,7 +18,7 @@ # Automake, and that a used-defined 'distcheck-hook' is *not* honored # in a subpackage Makefile.am. -. ./defs || Exit 1 +. test-init.sh cat >> configure.ac << 'END' AC_CONFIG_SUBDIRS([subpkg]) @@ -63,14 +63,14 @@ cd .. # For debugging. $FGREP 'distcheck-hook' Makefile.in subpkg/Makefile.in -$FGREP 'distcheck-hook' subpkg/Makefile.in && Exit 1 +$FGREP 'distcheck-hook' subpkg/Makefile.in && exit 1 $FGREP '$(MAKE) $(AM_MAKEFLAGS) distcheck-hook' Makefile.in grep '^distcheck-hook:' Makefile.in ./configure $MAKE -$MAKE check && Exit 1 +$MAKE check && exit 1 cd subpkg $MAKE check cd ..