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

bugs at busybox.net bugs at busybox.net
Tue Jan 9 21:46:24 UTC 2007


A NOTE has been added to this issue. 
====================================================================== 
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:46 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.

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

---------------------------------------------------------------------- 
 bernhardf - 01-09-07 13:46  
---------------------------------------------------------------------- 
http://busybox.net/lists/busybox/2007-January/025810.html 

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         
01-09-07 13:40  espakman       File Added: busybox-ash.patch                    
01-09-07 13:46  bernhardf      Note Added: 0001975                          
======================================================================




More information about the busybox-cvs mailing list