restore_ports.tcl failure
Murray Eisenberg
murrayeisenberg at gmail.com
Fri Dec 18 16:26:22 UTC 2020
I’m trying to migrate my ports, originally installed under Catalina (actually, migrated from my iMac running Catalina), to Big Sur 11.1 on an M1 MacBook Air. When I got to the step
sudo ./restore_ports.tcl myports.txt
I get the following error message:
list element in braces followed by "#!/bin/sh" instead of space
while executing
"foreach op $operationList {
set name [string trim [lindex $op 0]]
set variations [lindex $op 1]
set active [lindex $op 2]
..."
(procedure "install_ports" line 2)
invoked from within
"install_ports $operationList#!/bin/sh”
(file "./restore_ports.tcl" line 287)
This is using the default (zsh) shell in Terminal.
The offending line in the script is:
install_ports $operationList#!bin/sh
What’s wrong?
---
Murray Eisenberg murrayeisenberg at gmail.com
503 King Farm Blvd #101
Rockville, MD 20850-6667 Mobile (413)-427-5334
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20201218/3d0eba98/attachment.htm>
More information about the macports-users
mailing list