1 |
commit: c3fb269a4e0c6dc14d8281d610099b0a6d07a20d |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 12 16:29:59 2021 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 12 16:30:42 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3fb269a |
7 |
|
8 |
app-metrics/pushgateway: fix revision sed |
9 |
|
10 |
Package-Manager: Portage-3.0.19, Repoman-3.0.3 |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
app-metrics/pushgateway/pushgateway-1.4.1.ebuild | 2 +- |
14 |
1 file changed, 1 insertion(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/app-metrics/pushgateway/pushgateway-1.4.1.ebuild b/app-metrics/pushgateway/pushgateway-1.4.1.ebuild |
17 |
index fbc382e93d0..4ecc829611a 100644 |
18 |
--- a/app-metrics/pushgateway/pushgateway-1.4.1.ebuild |
19 |
+++ b/app-metrics/pushgateway/pushgateway-1.4.1.ebuild |
20 |
@@ -469,7 +469,7 @@ pkg_setup() { |
21 |
|
22 |
src_prepare() { |
23 |
default |
24 |
- sed -i -e "s/\\(\\.Revision=\\).*/\\1${GIT_COMMIT}/" .promu.yml || die |
25 |
+ sed -i -e 's|{{\.Revision}}|'${GIT_COMMIT}'|g' .promu.yml || die |
26 |
} |
27 |
|
28 |
src_compile() { |