From 37521913122f7e8507c6f57f6de28f51cdf48ec2 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 21 Jan 2013 00:15:26 -0800 Subject: [PATCH] Make sure we get to the right 'packages' directory from the git hooks The current directory set is random, so make sure we know where we're going Signed-off-by: Keith Packard --- .hooks/post-checkout | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.hooks/post-checkout b/.hooks/post-checkout index 8c96b33..57cd415 100755 --- a/.hooks/post-checkout +++ b/.hooks/post-checkout @@ -1,3 +1,4 @@ #!/bin/sh -cd packages && make +TOP=`git rev-parse --git-dir`/.. +cd "$TOP"/packages && make -- 2.39.5