[Bug 242964] UPDATING instructions for updating python to 3.7 via portmaster fail under default root shell
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Dec 29 17:14:21 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242964
Bug ID: 242964
Summary: UPDATING instructions for updating python to 3.7 via
portmaster fail under default root shell
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: bob at vesterman.com
/usr/ports/UPDATING has an entry on 20191216 for updating python to 3.7.
There's a specific section in there describing how to do it if you're using
portmaster. The instructions in that section do not work when using the
default root shell. Specifically, the line...
# REINSTALL="$(pkg info -o py36-\* | awk '{printf "%s ", $2}')"
... fails with "Illegal variable name."
The instructions work fine if you switch to bash, but perhaps they should be
changed to work in the default shell. At the very least, it should be noted in
the UPDATING entry that the instructions require a specific non-default shell
to be used.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list