Initial import
This commit is contained in:
13
sys-cluster/drbd-utils/files/9.15.1_git-path.patch
Normal file
13
sys-cluster/drbd-utils/files/9.15.1_git-path.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
--- user/shared/drbd_buildtag.sh.original 2021-01-25 00:57:10.817492405 -0500
|
||||
+++ user/shared/drbd_buildtag.sh 2021-01-25 00:57:59.501429694 -0500
|
||||
@@ -4,8 +4,8 @@
|
||||
local out=$1
|
||||
set -e; exec > ${out}.new
|
||||
echo -e "/* automatically generated. DO NOT EDIT. */"
|
||||
- if test -e ../../.git && GITHEAD=$(git rev-parse HEAD); then
|
||||
- GITDIFF=$(cd .. && git diff --name-only HEAD |
|
||||
+ if test -e ../../.git && GITHEAD=$(/usr/bin/git rev-parse HEAD); then
|
||||
+ GITDIFF=$(cd .. && /usr/bin/git diff --name-only HEAD |
|
||||
tr -s '\t\n' ' ' |
|
||||
sed -e 's/ *$//')
|
||||
echo -e "#define GITHASH \"${GITHEAD}\""
|
||||
Reference in New Issue
Block a user