This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository maintenancescripts.

commit c0de4b72f33ea9c0699dfcc8797cbcee074b3e46
Author: Mihai Moldovan <io...@ionic.de>
Date:   Tue Mar 3 13:22:09 2020 +0100

    git/hooks/x2go-post-receive-tag-pending: use more curly braces.
---
 git/hooks/x2go-post-receive-tag-pending | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/git/hooks/x2go-post-receive-tag-pending 
b/git/hooks/x2go-post-receive-tag-pending
index 137da6d..421ec3c 100755
--- a/git/hooks/x2go-post-receive-tag-pending
+++ b/git/hooks/x2go-post-receive-tag-pending
@@ -34,29 +34,29 @@ trap "rm -rf \"${tempdir}\"" EXIT
 
 DPKG_VERSION="$(perl -MDpkg -e 'print $Dpkg::version')"
 
-case "$DPKG_VERSION" in
+case "${DPKG_VERSION}" in
 1.16.*)
   get_version()
   {
-    local rev="$1"
-    local c="$tempdir/${rev}.changelog"
+    local rev="${1}"
+    local c="${tempdir}/${rev}.changelog"
 
-    git show ${rev}:debian/changelog | sed -re 's/Fixes:/Closes:/i' > "$c" 
2>/dev/null
-    dpkg-parsechangelog -l"$c" | sed -rne 's/^Version: *//pi'
+    git show ${rev}:debian/changelog | sed -re 's/Fixes:/Closes:/i' > "${c}" 
2>/dev/null
+    dpkg-parsechangelog -l"${c}" | sed -rne 's/^Version: *//pi'
   }
   get_bugs()
   {
-    local rev="$1"
-    local c="$tempdir/${rev}.changelog"
+    local rev="${1}"
+    local c="${tempdir}/${rev}.changelog"
 
-    git show ${rev}:debian/changelog | sed -re 's/Fixes:/Closes:/i' > "$c" 
2>/dev/null
-    dpkg-parsechangelog -l"$c" | sed -rne 's/^Closes: *//pi'
+    git show ${rev}:debian/changelog | sed -re 's/Fixes:/Closes:/i' > "${c}" 
2>/dev/null
+    dpkg-parsechangelog -l"${c}" | sed -rne 's/^Closes: *//pi'
   }
   ;;
 *)
   get_version()
   {
-    local rev="$1"
+    local rev="${1}"
 
     git show ${rev}:debian/changelog 2>/dev/null \
       | sed -re 's/Fixes:/Closes:/i' \
@@ -64,7 +64,7 @@ case "$DPKG_VERSION" in
   }
   get_bugs()
   {
-    local rev="$1"
+    local rev="${1}"
 
     git show ${rev}:debian/changelog 2>/dev/null \
       | sed -re 's/Fixes:/Closes:/i' \

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/maintenancescripts.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to