Commit 1eede6b9 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

auto-build: does not set exit-on-error when sourced

parent e420d96c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
#! /bin/bash

set -e

config ()
{
	git config --get auto-build`printf ".%s" "$@"`
@@ -250,6 +248,7 @@ main ()
}

if [ "$0" -ef "$BASH_SOURCE" ]; then
	set -e
	case $# in
		0) main ;;
		1) build "$1" ;;