Bug#260946: /sbin/update-grub: line 1: gt: command not found

Manoj Srivastava Manoj Srivastava <srivasta@debian.org>, 260946@bugs.debian.org
Thu, 22 Jul 2004 17:06:10 -0500


Package: grub
Version: 0.95+cvs20040624-5
Severity: important
Tags: patch

/sbin/update-grub: line 1: gt: command not found
/sbin/update-grub: line 208: quot: command not found

	The patch is simple:

--- /sbin/update-grub	2004-07-20 18:12:00.000000000 -0500
+++ /tmp/update-grub	2004-07-22 17:04:07.000000000 -0500
@@ -202,10 +202,10 @@
 # (hd0,0) if anything goes wrong
 convert_default () {
 	local tmp
-	if tmp=$(convert $1 2&gt;/dev/null) ; then
+	if tmp=$(convert $1 2>&/dev/null) ; then
 		echo $tmp
 	else
-		echo &quot;(hd0,0)&quot;
+		echo "(hd0,0)";
 	fi
 }
 


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-2
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (ignored: LC_ALL set to en_US.UTF-8)

Versions of packages grub depends on:
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libncurses5                 5.4-4        Shared libraries for terminal hand

-- no debconf information