git: f5ac9aed5dd4 - main - net/gitup: Fix reinplace gitup.conf.sample releng field
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Jun 2023 18:33:23 UTC
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=f5ac9aed5dd4ddd966f1ac622fcde9ef53dd8056 commit f5ac9aed5dd4ddd966f1ac622fcde9ef53dd8056 Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2023-06-03 18:30:26 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2023-06-03 18:32:52 +0000 net/gitup: Fix reinplace gitup.conf.sample releng field PR: 271809 --- net/gitup/Makefile | 2 +- net/gitup/pkg-post-install | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/net/gitup/Makefile b/net/gitup/Makefile index 82a8f2096123..961939bfe33f 100644 --- a/net/gitup/Makefile +++ b/net/gitup/Makefile @@ -1,7 +1,7 @@ PORTNAME= gitup DISTVERSION= 0.98-3 DISTVERSIONSUFFIX= -g50f1e8c -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MAINTAINER= eduardo@FreeBSD.org diff --git a/net/gitup/pkg-post-install b/net/gitup/pkg-post-install index ad57f46fb19b..f8f44b31f70e 100644 --- a/net/gitup/pkg-post-install +++ b/net/gitup/pkg-post-install @@ -2,4 +2,7 @@ osrel=$(${PKG_ROOTDIR}/bin/freebsd-version -u) releng=${osrel%%-*} stable=${osrel%%.*} -sed -i '' -E -e "s,stable/[0-9]+,stable/${stable}," -e "s,releng/[0-9].+,releng/${releng}," ${PKG_PREFIX}/etc/gitup.conf.sample +sed -i '' -E \ + -e "s,stable/[0-9]+,stable/${stable}," \ + -e "s,releng/[0-9]+.[0-9]+,releng/${releng}," \ + ${PKG_PREFIX}/etc/gitup.conf.sample