Re: [Libreoffice] cygwin soffice.bin.exe -> soffice.bin gotcha

2011-09-22 Thread Caolán McNamara
On Wed, 2011-09-21 at 16:59 +0200, Noel Grandin wrote: > > From my testing, it only seems to occur when there are 2 dots in the > source file name. > So either using mv, or renaming some of the intermediate files to only > have one dot in the name should work. heh, that'll do the trick, yeah inte

Re: [Libreoffice] cygwin soffice.bin.exe -> soffice.bin gotcha

2011-09-21 Thread Noel Grandin
>From my testing, it only seems to occur when there are 2 dots in the source >file name. So either using mv, or renaming some of the intermediate files to only have one dot in the name should work. Tor Lillqvist wrote: >> $ touch soffice.bin.exe >> $ cp soffice.bin.exe soffice.bin >> cp: cannot

Re: [Libreoffice] cygwin soffice.bin.exe -> soffice.bin gotcha

2011-09-21 Thread Tor Lillqvist
> $ touch soffice.bin.exe > $ cp soffice.bin.exe soffice.bin > cp: cannot create regular file `soffice.bin': File exists mv, however, works...: $ touch soffice.bin.exe $ mv soffice.bin.exe soffice.bin $ ls -l soffice* -rw-r--r-- 1 tml None 0 Sep 21 17:50 soffice.bin --tml ___

Re: [Libreoffice] cygwin soffice.bin.exe -> soffice.bin gotcha

2011-09-21 Thread Caolán McNamara
On Wed, 2011-09-21 at 16:13 +0200, Noel Grandin wrote: > what version of cp are you using? (cp --version) $ touch soffice.bin.exe $ cp soffice.bin.exe soffice.bin cp: cannot create regular file `soffice.bin': File exists $ cp --version cp (GNU coreutils) 8.10 Packaged by Cygwin (8.10-1) tor point

Re: [Libreoffice] cygwin soffice.bin.exe -> soffice.bin gotcha

2011-09-21 Thread Andras Timar
Hi, 2011/9/21 Caolán McNamara : > So, it seems that, some versions at least, of cp in cygwin have a > feature where > > cp foo.exe bar > will create a > bar.exe not an unsuffixed bar My Cygwin has cp (GNU coreutils) 8.10 Packaged by Cygwin (8.10-1) and it works normally. What version do you have?

Re: [Libreoffice] cygwin soffice.bin.exe -> soffice.bin gotcha

2011-09-21 Thread Noel Grandin
what version of cp are you using? (cp --version) Caolán McNamara wrote: > So, it seems that, some versions at least, of cp in cygwin have a > feature where > > cp foo.exe bar > will create a > bar.exe not an unsuffixed bar > > and we use cp in gbuild/Deliver.mk > > The problem if, as in desktop, w

[Libreoffice] cygwin soffice.bin.exe -> soffice.bin gotcha

2011-09-21 Thread Caolán McNamara
So, it seems that, some versions at least, of cp in cygwin have a feature where cp foo.exe bar will create a bar.exe not an unsuffixed bar and we use cp in gbuild/Deliver.mk The problem if, as in desktop, we build a soffice.bin.exe and then want to... cp soffice.bin.exe soffice.bin we want to ge