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

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to