#43208: PortIndex2MySQL.tcl: can't find package Tclx ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 2.3.0 Component: base | Version: 2.2.99 Resolution: | Keywords: haspatch Port: | ---------------------------+-------------------------------- Comment (by ryandesign@…): PortIndex2MySQL.tcl now begins with the line: {{{ #!@TCLSH@ }}} This means I cannot run it without first manually modifying it (or, presumably, running `make` in that directory, though that fails for me with `Makefile:9: ../../Mk/macports.autoconf.mk: No such file or directory`). I would prefer to be able to run the script without having to modify it. (Well, I know I might still have to modify it for the location to the password file and to set `SPAM_LOVERS`.) But can't the first line be: {{{ #!/usr/bin/env port-tclsh }}} as you proposed above? Making that change, the script runs for me. Also, I see that /opt/local/bin/port-tclsh is a shell script containing: {{{ #!/bin/sh exec /opt/local/libexec/macports/bin/tclsh8.5 "$@" }}} Is there a reason why that's preferable to just being a symlink to that? -- Ticket URL: <https://trac.macports.org/ticket/43208#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X