[X2Go-Commits] [maintenancescripts] 03/08: git/hooks/x2go-post-receive-tag-pending: rework quoting and whitespacing of cut call.
git-admin at x2go.org
git-admin at x2go.org
Thu Mar 5 19:23:41 CET 2020
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository maintenancescripts.
commit 49ad9895aed79b065b6ad833198b6be07a70d629
Author: Mihai Moldovan <ionic at ionic.de>
Date: Wed Mar 4 22:39:02 2020 +0100
git/hooks/x2go-post-receive-tag-pending: rework quoting and whitespacing of cut call.
---
git/hooks/x2go-post-receive-tag-pending | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/git/hooks/x2go-post-receive-tag-pending b/git/hooks/x2go-post-receive-tag-pending
index 37d6f63..2cd33a2 100755
--- a/git/hooks/x2go-post-receive-tag-pending
+++ b/git/hooks/x2go-post-receive-tag-pending
@@ -166,7 +166,7 @@ while read oldrev newrev refname; do
continue
fi
git show "${rev}" -- "debian/changelog" >"${d}"
- version="$(get_version "${rev}" | sed -re 's/[0-9]+://' | cut -d"-" -f1)"
+ version="$(get_version "${rev}" | sed -re 's/[0-9]+://' | cut -d '-' -f '1')"
bugs="$(get_bugs "${rev}")"
for bug in ${bugs}; do
if grep -qE '^\+.*\<'"${bug}"'\>' "${d}" &&
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git
More information about the x2go-commits
mailing list