[Bash-completion-devel] Bug#529510: checks for GNUish userland fail on GNU/kFreeBSD, GNU/kOpenSolaris, etc

Robert Millan rmh.debian.bts at aybabtu.com
Tue May 19 18:13:12 UTC 2009

Package: bash-completion
Version: 1:1.0-2
Severity: normal
Tags: patch

The checks for GNUish userland are made unportably by using a hardcoded
list of uname values.  It should use GNU/* and match other systems like
GNU/kFreeBSD or GNU/kOpenSolaris.

Also, the check for sed relies on comparing uname with "Linux" but it's
actually a userland issue.

Patch attached.

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

Kernel: Linux 2.6.26-libre2-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bash-completion depends on:
ii  bash                          3.2-5      The GNU Bourne Again SHell

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnuish_userland.diff
Type: text/x-diff
Size: 2497 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20090519/799f1fc0/attachment-0001.diff>

More information about the Bash-completion-devel mailing list