bash login shell invocation in mock
Clark Williams
williams at redhat.com
Fri Jan 4 18:53:21 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Paul Howarth wrote:
> mock now uses a login shell for the build phase, invoking bash as:
>
> bash -l -c ...
>
> It would be nice if this was changed to:
>
> bash --login -c ...
>
> (twi lines need changing in backend.py)
>
> This is because the --login long option pre-dates the -l short option in
> bash; the short version isn't understood in some really old
> distributions (like RHL7, don't ask!) and its use precludes use of mock
> in building packages for those releases. The long version seems to work
> everywhere.
>
> Paul.
>
>
done and pushed to git repo.
Clark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkd+gKAACgkQHyuj/+TTEp0UnACeIFAi05f8lqmpJ3FKsQ7cTCIF
ZfEAoOAjHDRDivrXm5kLUaeDMzzJiDWm
=7of5
-----END PGP SIGNATURE-----
More information about the Fedora-buildsys-list
mailing list