aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBaptiste Fontaine2016-12-01 20:59:41 +0100
committerBaptiste Fontaine2016-12-01 20:59:42 +0100
commitbff8e8440e965365360547c585dd10c29cc2bf81 (patch)
tree1b0685246748f9ba7829150eb5ca0b5cf5f0f1c4 /Library
parent8f82e89d0b26108e32a10b5d95b67e5e21ff0df6 (diff)
downloadbrew-bff8e8440e965365360547c585dd10c29cc2bf81.tar.bz2
update.sh: Use full path to pkill
Fixes #1600.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh
index 5c72c24f9..678622230 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"