[BusyBox 0001149]: Problem with "[" command used internal to busybox ash

bugs at busybox.net bugs at busybox.net
Tue Jan 9 21:39:16 UTC 2007


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1149 
====================================================================== 
Reported By:                espakman
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1149
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             01-09-2007 13:39 PST
Last Modified:              01-09-2007 13:39 PST
====================================================================== 
Summary:                    Problem with "[" command used internal to busybox
ash
Description: 
Ash revision 17084 introduced a problem with (at least) the "[" command
when configured internal to ash. When I use the following snippet in
linuxrc:

#!./busybox sh

#DEBUG=1

if [ $DEBUG ] ; then
        echo "test"
fi

The response with revision 17084 is:
/linuxrc: /linuxrc: 37: [: not found

(37 being the line number)

The attached small patch reverses a small part of the 17084 patch and
fixes the problem.

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-09-07 13:39  espakman       New Issue                                    
01-09-07 13:39  espakman       Status                   new => assigned     
01-09-07 13:39  espakman       Assigned To               => BusyBox         
======================================================================




More information about the busybox-cvs mailing list