Bug#526738: gratuitous use of subprocesses

martin f krafft madduck at debian.org
Sun May 3 07:43:52 UTC 2009


Package: grub-pc
Version: 1.96+20090317-1
Severity: minor
Tags: upstream
File: /etc/grub.d/00_header

# sed -n 19,24p /etc/grub.d/00_header
transform="s,x,x,"

prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
grub_prefix=`echo /boot/grub | sed ${transform}`


What is it doing? That's two subprocesses (shell+sed) used for
absolutely zero purpose, as far as I can tell.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20090503/fd3790fd/attachment.pgp>


More information about the Pkg-grub-devel mailing list