mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +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 changed files with 10 additions and 3 deletions
|
@ -2,4 +2,4 @@ RUNTIME_PREFIX = YesPlease
|
||||||
RUNTIME_PREFIX_PERL = YesPlease
|
RUNTIME_PREFIX_PERL = YesPlease
|
||||||
|
|
||||||
# must be set or the above are still abs paths
|
# must be set or the above are still abs paths
|
||||||
gitexecdir=libexec/git-core
|
gitexecdir=libexec
|
||||||
|
|
|
@ -22,9 +22,9 @@ build:
|
||||||
make install $BAKE
|
make install $BAKE
|
||||||
|
|
||||||
cd "{{prefix}}"
|
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
|
cp "$SRCROOT"/props/git* etc
|
||||||
env:
|
env:
|
||||||
V: 1
|
V: 1
|
||||||
|
@ -47,6 +47,13 @@ test: |
|
||||||
git add .
|
git add .
|
||||||
test "$(git diff --name-only --cached)" = "testfile"
|
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:
|
provides:
|
||||||
- bin/git
|
- bin/git
|
||||||
- bin/git-cvsserver
|
- bin/git-cvsserver
|
||||||
|
|
Loading…
Reference in a new issue