Em 15-10-2015 19:44, Bruce Dubbs escreveu:
> Fernando de Oliveira wrote:
>> Consider the instructions:
>>
>> {{{
>> install -v -dm755 /usr/lib/clang-analyzer &&
>>
>> for prog in scan-build scan-view
>> do
>> cp -rfv ../tools/clang/tools/$prog /usr/lib/clang-analyzer/
>> ln -sfv ../lib/clang-analyzer/$prog/$prog /usr/bin/
>> done
>> }}}
>>
>> I can't understand the line:
>>
>> ln -sfv ../lib/clang-analyzer/$prog/$prog /usr/bin/
>>
>> Why the double $prog/$prog?
>>
>> My first impression is that it is a typo, but I've been using it like
>> that, apparently it is working?
>>
>> It comes from r11334 (<!ENTITY llvm-version "3.3">)
>
> Take a look at:
>
> ls /usr/lib/clang-analyzer/scan-*
>
> -- Bruce
>
Duh!?
I had done it in the past and understood!
Getting order, brain cells seem to be dying very quickly.
Thanks and sorry for the noise.
--
[]s,
Fernando, aka SÃsifo
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page