Problem in devel buildsys
Eric Tanguy
eric.tanguy at univ-nantes.fr
Mon Nov 21 19:33:02 UTC 2005
Le lundi 21 novembre 2005 à 12:07 -0700, Kevin Fenzi a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> >>>>> "Ralf" == Ralf Ertzinger <fedora at camperquake.de> writes:
>
> Ralf> On Fri, Nov 18, 2005 at 01:46:06PM -0700, Kevin Fenzi wrote:
> >> FC4:
> >>
> >> mkdir one mv one/ two/ (works)
> >>
> >> devel/FC5: mkdir one mv one/ two/ mv: target `two/' is not a
> >> directory: No such file or directory (doesn't work)
>
> Ralf> Urgh. Is there a bug for this? The FC5 behaviour is broken,
> Ralf> methinks.
>
> I'm not sure it is a bug...
>
> If you add a / to a target, mv should expect that to be a directory
> you would like to move the source(s) into, right? If that directory
> doesn't exist, why should we move the source to a directory named
> that?
>
> So, this error seems correct to me...
>
> I guess if you want it changed, talk to the coreutils folks upstream?
>
> kevin
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
>
> iD8DBQFDghr93imCezTjY0ERAhVyAJ9dWjAY1f63TDDZQYbxj5lGM5nZbACfcSG3
> zEHCFZbJI9DPBAaIA+anBiI=
> =TcMd
> -----END PGP SIGNATURE-----
>
The problem was quite different ;
mkdir -p /usr/lib/ircd
mv /path/modules/ /usr/lib/ircd/
Which means create /usr/lib/ircd/modules
it worked fine with FC-4 but failed with devel
i replaced this with
mkdir -p /usr/lib/ircd/modules
mv /path/modules/* /usr/lib/ircd/modules/.
which works fine for all.
maybe
mkdir -p /usr/lib/ircd
mv /path/modules /usr/lib/ircd/
should work
But i found only strange the modification of mv between FC-4 and devel.
Eric
More information about the fedora-extras-list
mailing list