[Pkg-voip-commits] r8397 - in /dahdi-tools/trunk/debian: changelog patches/bashism patches/series

tzafrir at alioth.debian.org tzafrir at alioth.debian.org
Mon May 17 16:09:03 UTC 2010


Author: tzafrir
Date: Mon May 17 16:08:59 2010
New Revision: 8397

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=8397
Log:
Patch bashism: fix bashism (Raphael Geissert, Closes: #581076).

Added:
    dahdi-tools/trunk/debian/patches/bashism
Modified:
    dahdi-tools/trunk/debian/changelog
    dahdi-tools/trunk/debian/patches/series

Modified: dahdi-tools/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/dahdi-tools/trunk/debian/changelog?rev=8397&op=diff
==============================================================================
--- dahdi-tools/trunk/debian/changelog (original)
+++ dahdi-tools/trunk/debian/changelog Mon May 17 16:08:59 2010
@@ -11,8 +11,9 @@
     needed in Debian.
   * Convert to dpkg v.3 format.
   * Patch per_usb_params: Fix a perl typo.
-
- -- Tzafrir Cohen <tzafrir at debian.org>  Mon, 17 May 2010 15:09:38 +0300
+  * Patch bashism: fix bashism (Raphael Geissert, Closes: #581076).
+
+ -- Tzafrir Cohen <tzafrir at debian.org>  Mon, 17 May 2010 18:59:51 +0300
 
 dahdi-tools (1:2.2.1.1-1) unstable; urgency=low
 

Added: dahdi-tools/trunk/debian/patches/bashism
URL: http://svn.debian.org/wsvn/pkg-voip/dahdi-tools/trunk/debian/patches/bashism?rev=8397&op=file
==============================================================================
--- dahdi-tools/trunk/debian/patches/bashism (added)
+++ dahdi-tools/trunk/debian/patches/bashism Mon May 17 16:08:59 2010
@@ -1,0 +1,39 @@
+From: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+Subject: Fix bashism (Raphael Geissert, checkbashism)
+Origin: http://svn.asterisk.org/svn/dahdi/tools/branches/2.3@8643
+Bug-Debian: http://bugs.debian.org/581076
+
+---
+ xpp/astribank_hook |    2 +-
+ xpp/waitfor_xpds   |    2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/xpp/astribank_hook b/xpp/astribank_hook
+index 52e2826..ae38635 100755
+--- a/xpp/astribank_hook
++++ b/xpp/astribank_hook
+@@ -53,7 +53,7 @@ matched_devices() {
+ 		lineno=`clean_lines | egrep -n "^${label}$|^@${connector}$" | cut -d: -f1`
+ 		if [ "$lineno" != "" ]; then
+ 			#echo "$xbus: $XPPORDER_CONF:$lineno -- Match ${label} @${connector}" | $LOGGER
+-			echo -e "${xbus}\t${label}"
++			printf "${xbus}\t${label}\n"
+ 		else
+ 			echo "${xbus}: ${label} @${connector} not found in $XPPORDER_CONF: Ignore($ACTION)" | $LOGGER
+ 		fi
+diff --git a/xpp/waitfor_xpds b/xpp/waitfor_xpds
+index 63f05f6..30b3ac5 100755
+--- a/xpp/waitfor_xpds
++++ b/xpp/waitfor_xpds
+@@ -65,7 +65,7 @@ do
+ 	fi
+ 	echo -n 1>&2 "."
+ 	sleep 1
+-	: $((tries--))
++	: $((tries-=1))
+ done
+ echo ""
+ 
+-- 
+1.5.6.5
+

Modified: dahdi-tools/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-voip/dahdi-tools/trunk/debian/patches/series?rev=8397&op=diff
==============================================================================
--- dahdi-tools/trunk/debian/patches/series (original)
+++ dahdi-tools/trunk/debian/patches/series Mon May 17 16:08:59 2010
@@ -5,3 +5,4 @@
 xpp_udev_background
 xpp_udev_nosleep
 per_usb_params
+bashism




More information about the Pkg-voip-commits mailing list