Martin Pitt wrote:
> Hi Eugen,
>
> Eugen Dedu [2008-10-03 14:58 -0000]:
>> "cp * build-gtkonly" should have a - before it in the Makefile, in order
>> not to take into account the known error "Cannot copy a directory into
>> itself".
>
> That doesn't make sense to me, since it will just always fail, and the
> following commands will just break because the build-gtkonly/
> directory is empty. I fixed it by replacing it with
>
> cp -a `find -maxdepth 1 ! -name 'build-*' ! -name '.*' ! -name debian`
> build-gtkonly
Yes, your command is better, mine is simpler :o)
In fact, my command was: -cp -a * build-gtkonly, which works (even with
the known error 'copy into itself'). (I don't understand why it would
not work, anyway, it's a minor thing.)
Hi Martin,
Martin Pitt wrote:
> Hi Eugen,
>
> Eugen Dedu [2008-10-03 14:58 -0000]:
>> "cp * build-gtkonly" should have a - before it in the Makefile, in order
>> not to take into account the known error "Cannot copy a directory into
>> itself".
>
> That doesn't make sense to me, since it will just always fail, and the
> following commands will just break because the build-gtkonly/
> directory is empty. I fixed it by replacing it with
>
> cp -a `find -maxdepth 1 ! -name 'build-*' ! -name '.*' ! -name debian`
> build-gtkonly
Yes, your command is better, mine is simpler :o)
In fact, my command was: -cp -a * build-gtkonly, which works (even with
the known error 'copy into itself'). (I don't understand why it would
not work, anyway, it's a minor thing.)
--
Eugen