Commit aa1c5794 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Merge branch 'hotfix/0.1.2'

parents 7b75dbeb f9967c11
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
#  along with this program.  If not, see <http://www.gnu.org/licenses/>.
#

AC_INIT([git-hooks], [0.1.1])
AC_INIT([git-hooks], [0.1.2])
AM_INIT_AUTOMAKE

gitcoredir=`git --exec-path`
+3 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ profile ()
	local build pattern replace_cmd
	case "$1" in
		autotools)
			build='autoreconf --install && configure && make dist'
			build='bash -c "autoreconf --install && ./configure && make dist"'
			pattern='$(distdir).{tar{,.*},zip}'
			replace_cmd=_make_variable_replace
			;;
@@ -82,11 +82,13 @@ _normalise_ref ()
_get_config_section ()
{
	local sections prefix sec
	set -o noglob
	IFS=$'\n' sections=( `git config --list \
		| grep -e '^auto-build' \
		| sed -e 's/=.*//' -e 's/\.[^.]*$//' -e 's/^auto-build\.\?//' \
		| sort -ur
		` )
	set +o noglob
	{
		echo "Finding match for $1 in"
		printf "  %s\n" "${sections[@]}"