[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#43296: libc6: devpts.sh uses bashism



On 21-Aug-99 Miquel van Smoorenburg wrote:
> In article <cistron.E11IASy-0001RE-00@localhost>,
> Farzad FARID  <farzy@via.ecp.fr> wrote:
>>Package: libc6
>>Version: 2.1.2-0pre7
>>Severity: normal
>>
>>This script should not start with #!/bin/sh because it uses constructions
>>that do not exist in the Bourne Shell. eg:
>>tail=${release#*.*.}
>>major_release=${release%.${tail}}
>>minor_release=${tail%%[-.]*}
>>        devpts=$(grep -c devpts /proc/filesystems)
> 

I run ash as my /bin/sh.  devpts works fine here.


Reply to: