Loading configure.ac +1 −1 Original line number Diff line number Diff line Loading @@ -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` Loading hook-scripts/post-receive/auto-build +3 −1 Original line number Diff line number Diff line Loading @@ -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 ;; Loading Loading @@ -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[@]}" Loading Loading
configure.ac +1 −1 Original line number Diff line number Diff line Loading @@ -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` Loading
hook-scripts/post-receive/auto-build +3 −1 Original line number Diff line number Diff line Loading @@ -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 ;; Loading Loading @@ -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[@]}" Loading