[Pkg-voip-commits] r10597 - in /dahdi-tools/trunk/debian: changelog patches/astribank_hook-remove-useless-time.patch patches/series

tzafrir at alioth.debian.org tzafrir at alioth.debian.org
Sun Dec 7 10:01:08 UTC 2014


Author: tzafrir
Date: Sun Dec  7 10:01:06 2014
New Revision: 10597

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=10597
Log:
astribank_hook-remove-useless-time.patch (Closes: #772229).

Added:
    dahdi-tools/trunk/debian/patches/astribank_hook-remove-useless-time.patch
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=10597&op=diff
==============================================================================
--- dahdi-tools/trunk/debian/changelog	(original)
+++ dahdi-tools/trunk/debian/changelog	Sun Dec  7 10:01:06 2014
@@ -1,6 +1,7 @@
 dahdi-tools (1:2.10.0.1-2) UNRELEASED; urgency=medium
 
   * NOT RELEASED YET
+  * astribank_hook-remove-useless-time.patch (Closes: #772229).
 
  -- Tzafrir Cohen <tzafrir at debian.org>  Mon, 27 Oct 2014 00:00:09 +0200
 

Added: dahdi-tools/trunk/debian/patches/astribank_hook-remove-useless-time.patch
URL: http://svn.debian.org/wsvn/pkg-voip/dahdi-tools/trunk/debian/patches/astribank_hook-remove-useless-time.patch?rev=10597&op=file
==============================================================================
--- dahdi-tools/trunk/debian/patches/astribank_hook-remove-useless-time.patch	(added)
+++ dahdi-tools/trunk/debian/patches/astribank_hook-remove-useless-time.patch	Sun Dec  7 10:01:06 2014
@@ -0,0 +1,33 @@
+From 283f01bd675a38bfaf1edc469cda45bb952143f1 Mon Sep 17 00:00:00 2001
+From: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+Date: Sun, 7 Dec 2014 11:51:19 +0200
+Subject: [PATCH] astribank_hook: remove useless 'time'
+
+* 'time' was added here for debugging and never actually needed.
+* It actually causes a minor bashism issue.
+
+Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+---
+ xpp/astribank_hook | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/xpp/astribank_hook b/xpp/astribank_hook
+index 05d1c17..fdfa82a 100755
+--- a/xpp/astribank_hook
++++ b/xpp/astribank_hook
+@@ -96,10 +96,10 @@ wait_for_udev() {
+ 	echo "Waiting for udev to settle down..."
+ 	if [ -x /sbin/udevsettle ]; then
+ 		# Old system, stand-alone udevsettle command
+-		time /sbin/udevsettle --timeout="$UDEV_SETTLE_MAX_TIME"
++		/sbin/udevsettle --timeout="$UDEV_SETTLE_MAX_TIME"
+ 	elif [ -x /sbin/udevadm ]; then
+ 		# Assume modern system, udevadm has settle parameter
+-		if ! time /sbin/udevadm settle --timeout="$UDEV_SETTLE_MAX_TIME"
++		if ! /sbin/udevadm settle --timeout="$UDEV_SETTLE_MAX_TIME"
+ 		then
+ 			echo "udevadm failed ($?)."
+ 			echo "Fallback to sleep $UDEV_SETTLE_MAX_TIME seconds."
+-- 
+2.1.3
+

Modified: dahdi-tools/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-voip/dahdi-tools/trunk/debian/patches/series?rev=10597&op=diff
==============================================================================
--- dahdi-tools/trunk/debian/patches/series	(original)
+++ dahdi-tools/trunk/debian/patches/series	Sun Dec  7 10:01:06 2014
@@ -3,3 +3,4 @@
 init_unload_oslec
 remove_dahdi_speed
 debian-cflags.patch
+astribank_hook-remove-useless-time.patch




More information about the Pkg-voip-commits mailing list