mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fix git libexec rpaths (#103)
The fix works by having the relative path component count be the same between bin and libexec
This commit is contained in:
parent
4bad6b0b9b
commit
b7727fe732
|
@ -2,4 +2,4 @@ RUNTIME_PREFIX = YesPlease
|
|||
RUNTIME_PREFIX_PERL = YesPlease
|
||||
|
||||
# must be set or the above are still abs paths
|
||||
gitexecdir=libexec/git-core
|
||||
gitexecdir=libexec
|
||||
|
|
|
@ -22,9 +22,9 @@ build:
|
|||
make install $BAKE
|
||||
|
||||
cd "{{prefix}}"
|
||||
DEBUG=1 fix-shebangs.ts bin/* libexec/git-core/*
|
||||
DEBUG=1 fix-shebangs.ts bin/* libexec/*
|
||||
|
||||
mkdir etc
|
||||
mkdir -p etc
|
||||
cp "$SRCROOT"/props/git* etc
|
||||
env:
|
||||
V: 1
|
||||
|
@ -47,6 +47,13 @@ test: |
|
|||
git add .
|
||||
test "$(git diff --name-only --cached)" = "testfile"
|
||||
|
||||
# necessary so `git commit` will work
|
||||
git config user.email "you@example.com"
|
||||
git config user.name "Your Name"
|
||||
|
||||
# necessary to check the libexec binaries work
|
||||
git commit --message "test"
|
||||
|
||||
provides:
|
||||
- bin/git
|
||||
- bin/git-cvsserver
|
||||
|
|
Loading…
Reference in a new issue