[med-svn] [Git][med-team/community/package_template][master] Deal with ending '\'

Andreas Tille (@tille) gitlab at salsa.debian.org
Thu May 14 20:34:35 BST 2026



Andreas Tille pushed to branch master at Debian Med / community / package_template


Commits:
fd91eec8 by Andreas Tille at 2026-05-14T21:34:18+02:00
Deal with ending '\'

- - - - -


1 changed file:

- convert-watch5


Changes:

=====================================
convert-watch5
=====================================
@@ -65,7 +65,7 @@ uversionmangle=""
 if [ -e debian/watch ] ; then
   dversionmangle=$(grep -i 'dversionmangle[[:space:]]*=' debian/watch | sed 's/^.*dversionmangle[[:space:]]*=[[:space:]]*\([^,]\+\)\(,\|$\).*/Dversion-Mangle: \1/')
   repacksuffix=$(grep -i 'repacksuffix[[:space:]]*=' debian/watch | sed 's/^.*repacksuffix[[:space:]]*=[[:space:]]*\([^,]\+\)\(,\|$\).*/Repack-Suffix: \1/')
-  uversionmangle=$(grep -i 'uversionmangle[[:space:]]*=' debian/watch | sed 's/^.*uversionmangle[[:space:]]*=[[:space:]]*\([^,]\+\)\(,\|$\).*/Uversion-Mangle: \1/')
+  uversionmangle=$(grep -i 'uversionmangle[[:space:]]*=' debian/watch | sed -e 's/^.*uversionmangle[[:space:]]*=[[:space:]]*\([^,]\+\)\(,\|$\).*/Uversion-Mangle: \1/' -e 's: *\\$::')
 fi
 if [ "$hasfilesexcluded" = "yes" -a "$repacksuffix" = "" ] ; then
   repacksuffix="Repack-Suffix: +dfsg"



View it on GitLab: https://salsa.debian.org/med-team/community/package_template/-/commit/fd91eec810d67c84179c0a334464fef3ea2b3624

-- 
View it on GitLab: https://salsa.debian.org/med-team/community/package_template/-/commit/fd91eec810d67c84179c0a334464fef3ea2b3624
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260514/ed227eba/attachment-0001.htm>


More information about the debian-med-commit mailing list