Package: dash
Version: 0.5.4-3
Severity: grave

Hi!

I have to until recently been very satisfied with running dash as my
/bin/sh

But the -3 upgrade subtle broke the startkde script (in ksmserver package)

I have isolated parts of the startkde-script:

Transcription as follows:
[EMAIL PROTECTED]:~$ cat kdetest.sh
#! /bin/sh
exepath=`kde-config --path exe | tr : '\n'`
#Following command expands as following
#kde-config --path exe | tr : '\n'
#/home/pusling/.kde/bin/
#/usr/bin/
#
for prefix in `echo "$exepath" | sed -n -e 's,/bin[^/]*/,/env/,p'`; do
  for file in "$prefix"*.sh; do
    echo "found $file"
    test -r "$file" && echo "sourcing file: $file"
  done
done

[EMAIL PROTECTED]:~$ dpkg -l dash
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                                       Version                          
          Description
+++-==========================================-==========================================-====================================================================================================
ii  dash                                       0.5.4-2                          
          The Debian Almquist Shell
[EMAIL PROTECTED]:~$ sh kdetest.sh
found /home/pusling/.kde/env/gpg-agent.sh
sourcing file: /home/pusling/.kde/env/gpg-agent.sh
found /usr/env/*.sh
[EMAIL PROTECTED]:~$ dpkg -l dash
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                                       Version                          
          Description
+++-==========================================-==========================================-====================================================================================================
ii  dash                                       0.5.4-3                          
          POSIX-compliant shell
[EMAIL PROTECTED]:~$ sh kdetest.sh
found /home/pusling/.kde/env/*.sh
found /usr/env/*.sh
[EMAIL PROTECTED]:~$ 

It seems that the * is never expanded here. 

/Sune

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (200, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.20-1-vserver-k7 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages dash depends on:
ii  libc6                         2.7-5      GNU C Library: Shared libraries

dash recommends no packages.

-- debconf information:
* dash/sh: true



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to