From b90d029b7e24c0628ec3e183fdafbc7c0bedb222 Mon Sep 17 00:00:00 2001
From: Ian Douglas Scott <ian@iandouglasscott.com>
Date: Wed, 5 Jul 2017 19:48:30 -0700
Subject: [PATCH] Corrections to git recipe

---
 recipes/git/recipe.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes/git/recipe.sh b/recipes/git/recipe.sh
index f836635e0..2146cb8d7 100644
--- a/recipes/git/recipe.sh
+++ b/recipes/git/recipe.sh
@@ -63,8 +63,9 @@ function recipe_clean {
 
 function recipe_stage {
     dest="$(realpath $1)"
-    make prefix="$dest" install
+    make DESTDIR="$dest" install
     ${STRIP} $1/bin/* || true
     ${STRIP} $1/libexec/git-core/* || true
+    rm -rf $1/share/man
     skip=1
 }
-- 
GitLab