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 <nore...@macports.org> wrote: > > Page "Migration" was changed by d...@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 _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev