http://qa.mandrakesoft.com/show_bug.cgi?id=3327

           Product: bash
         Component: bash
           Summary: bash if statement not working as expected
           Version: 2.05b-12mdk
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have the below script which works fine on my Red Hat 7.3 (bash-2.05a) box. It
also runs on Mandrake 8.2 (bash-2.05-16mdk).

I expect 'make pure_all' to be run unless -b is specified.

#!/bin/sh
if [ "$*" = "${*%-b*}" ];
  then make pure_all;
fi

With cooker, this command is never called, regardless of which arguments are
passed to it.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to