summarylogtreecommitdiffstats
path: root/install-with-DESTDIR.patch
diff options
context:
space:
mode:
authorJames An2017-04-25 01:52:25 -0400
committerJames An2017-04-25 01:52:25 -0400
commit268ee198bfee7a3293a35ec227cc4add30fd65c7 (patch)
tree681a695066c8acd9f037ebde23a8864ee90742bd /install-with-DESTDIR.patch
downloadaur-git-subsplit-git.tar.gz
Initial commit with working PKGBUILD.
Diffstat (limited to 'install-with-DESTDIR.patch')
-rw-r--r--install-with-DESTDIR.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/install-with-DESTDIR.patch b/install-with-DESTDIR.patch
new file mode 100644
index 000000000000..0268261d80ad
--- /dev/null
+++ b/install-with-DESTDIR.patch
@@ -0,0 +1,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