From 457db1af9f697a6dff4189cb46031688c78a61dc Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 26 Jun 2011 19:09:24 -0400 Subject: functions: add missing 'command' before install Without this, we hit an infinte loop and crash when a legacy 'install' function in a hook is encountered. Thanks-to: Gerardo Exequiel Pozzi Signed-off-by: Dave Reisner --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions') diff --git a/functions b/functions index ee6921c..8e3588a 100644 --- a/functions +++ b/functions @@ -221,7 +221,7 @@ _add_file() { [[ -e "$BUILDROOT$1" ]] && return $EEXIST (( QUIET )) || plain "adding file: %s" "$1" - install -Dm$3 "$2" "$BUILDROOT$1" + command install -Dm$3 "$2" "$BUILDROOT$1" } _add_dir() { -- cgit v1.2.3-24-g4f1b