Package: iproute
Version: 20041019-3
Severity: normal
Tags: patch

The netbug script in sarge's iproute package gives a syntax error:

[EMAIL PROTECTED] root]# netbug
Send network configuration summary to [ENTER means [EMAIL PROTECTED] [EMAIL 
PROTECTED]
/sbin/netbug: line 9: syntax error near unexpected token `}'
[EMAIL PROTECTED] root]#

The attached patch fixes the problem.

Regards,

Allard Hoeve


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-ac10-byte
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages iproute depends on:
ii  libatm1                     2.4.1-17     shared library for ATM (Asynchrono
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an

-- no debconf information
--- /sbin/netbug.orig   2005-02-01 21:20:58.000000000 +0100
+++ /sbin/netbug        2005-06-14 10:27:32.269460301 +0200
@@ -6,8 +6,8 @@
 IFS="" read mail || exit 1
 [ -z "$mail" ] && [EMAIL PROTECTED]
 
-netbug=`mktemp -d -t netbug.XXXXXX` || {echo "$0: Cannot create temporary 
directory" >&2; exit 1;  }
-netbugtar=`tempfile -d $netbug --suffix=tar.gz` || {echo "$0: Cannot create 
temporary file" >&2; exit 1;  }
+netbug=`mktemp -d -t netbug.XXXXXX` || { echo "$0: Cannot create temporary 
directory" >&2; exit 1;  }
+netbugtar=`tempfile -d $netbug --suffix=tar.gz` || { echo "$0: Cannot create 
temporary file" >&2; exit 1;  }
 tmppath=$netbug
 trap "/bin/rm -rf $netbug $netbugtar" 0 1 2 3 13 15
 

Reply via email to