linux-fai-devel  

Re: dirinst comparing "X$action" with "Xdirinst" instead of $action with "dirinst"

Thomas Lange
Mon, 02 Oct 2006 02:39:50 -0700

>>>>> On Sun, 1 Oct 2006 13:31:08 +0200, "Henning Sprang" <[EMAIL PROTECTED]> 
>>>>> said:

    > if [ X$action = Xdirinst ]; then
This is normal shell coding practice. It helps if $action is not defined
at all. Then the test without quotes "" around an undefined variable
will give a syntax error.

-- 
regards Thomas