Skip to content

Commit 96329aa

Browse files
authored
Fix cproc patching using git (#18)
Add dummy author info when using `git am` as this is required. Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
1 parent cdca470 commit 96329aa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build/build-cproc.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@ git clone --depth 1 "${URL}" --branch "${BRANCH}"
5454
pushd cproc
5555

5656
## Temporary (hopefully) patch to support basic --version
57+
##
58+
## The following 2 lines are needed on virgin system where nothing is
59+
## configured. git really needs something here, or it will fail. Even using
60+
## --author is not enough.
61+
git config user.email || git config user.email "none@example.com"
62+
git config user.name || git config user.name "None"
63+
5764
git am ../../cproc-version.patch
5865

5966
./configure

0 commit comments

Comments
 (0)