public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Hard link in CT_GetCustom
@ 2016-01-18 15:46 Jasmin J.
  2016-01-20 14:36 ` Jasmin J.
  0 siblings, 1 reply; 2+ messages in thread
From: Jasmin J. @ 2016-01-18 15:46 UTC (permalink / raw)
  To: crossgcc

Hi!

I am currently using a Laptop with a small SSD, so I ran CT-NG on a USB 3.0
HDD. To be more precise, I am using SymLinks for some directories.
I discovered a problem in CT_GetCustom() for my custom source directories.
There is this line:
  CT_DoExecLog DEBUG cp -al "${component_location}" \
            "${CT_SRC_DIR}/${component_name}-${component_version}"
It does not work in my setup, because the src and build directories are on
different drives. Is there any good reason why a hard link (-al) is used?
I changed it to a sym-link (-as) and this works also.
If it is OK to use the sym-link, I will provide a patch.

BR
   Jasmin

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Hard link in CT_GetCustom
  2016-01-18 15:46 Hard link in CT_GetCustom Jasmin J.
@ 2016-01-20 14:36 ` Jasmin J.
  0 siblings, 0 replies; 2+ messages in thread
From: Jasmin J. @ 2016-01-20 14:36 UTC (permalink / raw)
  To: crossgcc

Ping

On 18/01/16 23:45, Jasmin J. wrote:
> Hi!
> 
> I am currently using a Laptop with a small SSD, so I ran CT-NG on a USB 3.0
> HDD. To be more precise, I am using SymLinks for some directories.
> I discovered a problem in CT_GetCustom() for my custom source directories.
> There is this line:
>   CT_DoExecLog DEBUG cp -al "${component_location}" \
>             "${CT_SRC_DIR}/${component_name}-${component_version}"
> It does not work in my setup, because the src and build directories are on
> different drives. Is there any good reason why a hard link (-al) is used?
> I changed it to a sym-link (-as) and this works also.
> If it is OK to use the sym-link, I will provide a patch.
> 
> BR
>    Jasmin
>

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-20 14:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-18 15:46 Hard link in CT_GetCustom Jasmin J.
2016-01-20 14:36 ` Jasmin J.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).