X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=.hooks%2Fpost-checkout;h=04561f20cecd647ef051aeb5f97ffb91cb92e862;hb=b25411bfb002f407aeeab25eeb0cc1d87e54ae37;hp=8c96b3327248e2f0e0fe7be60edd5fc3bb44db39;hpb=cae6ec719858a5356efeb7e24ff39ae6a0925377;p=hw%2Faltusmetrum diff --git a/.hooks/post-checkout b/.hooks/post-checkout index 8c96b33..04561f2 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 >/dev/null && make -j1 -q || make