summarylogtreecommitdiffstats
path: root/install-with-DESTDIR.patch
blob: 0268261d80ad971977b240bd66cb38fb9ee58737 (plain)
1
2
3
4
5
6
7
8
diff --git a/install.sh b/install.sh
index 9644838..9d3fe1b 100755
--- a/install.sh
+++ b/install.sh
@@ -1,2 +1,2 @@
 # Copy subsplit to where the Git scripts belong.
-cp git-subsplit.sh "$(git --exec-path)"/git-subsplit
+cp git-subsplit.sh "$DESTDIR/$(git --exec-path)"/git-subsplit