[MacPorts] Migration modified
Lawrence Velázquez
larryv at macports.org
Sun Dec 14 19:59:40 PST 2014
The migration steps weren't really intended to be run as a single script. I'm not comfortable telling users to run this big untested blob of code.
> On Dec 14, 2014, at 10:37 PM, MacPorts <noreply at macports.org> wrote:
>
> Page "Migration" was changed by dave at yost.com
> Diff URL: <https://trac.macports.org/wiki/Migration?action=diff&version=80>
> Revision 80
> Comment: Use a single sudo, so only one password is required.
> Changes:
> -------8<------8<------8<------8<------8<------8<------8<------8<--------
> Index: Migration
> =========================================================================
> --- Migration (version: 79)
> +++ Migration (version: 80)
> @@ -23,29 +23,36 @@
> {{{
> # If there is an argument, then don't preserve 'requested' flags.
> function reinstallPorts() {
> - dontPreserveRequestedFlags=$1
> + local -r dontPreserveRequestedFlags=$1
> + set -e
> + # This will fail if xcode-select needs to be run.
> + clang --version
What is the point of printing the Clang version? And you don't know which "clang" is being run.
vq
More information about the macports-dev
mailing list