pkgsrc-Users archive

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

Re: Ruby builds - Sun assembler intolerant of spaces



In message 
<CABqtqVRTQE3Nt1bkU7xUOyoKUgnUZBu6-6UOtPU_AaoudsB3cw%mail.gmail.com@localhost>
        on Mon, 30 Apr 2012 01:53:37 +0100,
        Stephen Nelson-Smith <sanelson%gmail.com@localhost> wrote:
>> And what about execute with ksh?
>>
>> % ksh test.sh
> 
> bash-2.05# sh test.sh
> |-o |
> |-o |
> bash-2.05# bash test.sh
> |-o |
> |-o |
> bash-2.05# ksh test.sh
> |-o |
> |-o |
> bash-2.05# pdksh test.sh
> |-o |
> |-o |
Thanks.

Then, what sould be output under build directory after configure state?

% grep OUTFLAG config.status
S["COUTFLAG"]="-o "
S["OUTFLAG"]="-o "

And output of this script (test2.sh)?

----------------------------------------------------------------
#!/bin/sh
var=" value "
name=var

eval value=\$$name
echo "|${value}|"
eval value="\$$name"
echo "|${value}|"
----------------------------------------------------------------

% sh test2.sh
| value |
| value |

Best regards.

-- 
Takahiro Kambe <taca%back-street.net@localhost>


Home | Main Index | Thread Index | Old Index