From bff8e8440e965365360547c585dd10c29cc2bf81 Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Thu, 1 Dec 2016 20:59:41 +0100 Subject: [PATCH] update.sh: Use full path to pkill Fixes #1600. --- Library/Homebrew/cmd/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh index 5c72c24f96..678622230b 100644 --- a/Library/Homebrew/cmd/update.sh +++ b/Library/Homebrew/cmd/update.sh @@ -417,7 +417,7 @@ EOS safe_cd "$HOMEBREW_REPOSITORY" # kill all of subprocess on interrupt - trap '{ pkill -P $$; wait; exit 130; }' SIGINT + trap '{ /usr/bin/pkill -P $$; wait; exit 130; }' SIGINT local update_failed_file="$HOMEBREW_REPOSITORY/.git/UPDATE_FAILED" rm -f "$update_failed_file"