Make the hooks quieter
authorKeith Packard <keithp@keithp.com>
Mon, 21 Jan 2013 08:18:20 +0000 (00:18 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 21 Jan 2013 08:22:09 +0000 (00:22 -0800)
Don't dump make information when there's nothing to do

Signed-off-by: Keith Packard <keithp@keithp.com>
.hooks/post-checkout

index 57cd415a65ed9500f3026168cffbc62f4f0118f3..c1e6b7783f69a0d74f9cb598f7d2252e40d44ff7 100755 (executable)
@@ -1,4 +1,4 @@
 #!/bin/sh
 
 TOP=`git rev-parse --git-dir`/..
-cd "$TOP"/packages && make
+cd "$TOP"/packages >/dev/null && make -q || make