Your MacPorts ports need some love: the "cd" command is going
away
markd at macports.org
markd at macports.org
Mon Nov 12 10:41:16 PST 2007
MacPorts Development <macports-dev at lists.macosforge.org> writes:
>Hi! You're receiving this email because a MacPorts port you maintain
>uses the Tcl command "cd" to change into a directory for some reason.
>The "cd" command has been deemed harmful for MacPorts, so a future
>version of MacPorts will hide it from portfiles [1]. (MacPorts trunk
>already does [2].) Therefore it's necessary to remove this command
>everywhere it occurs in your portfiles, so that your ports continue
>to function in future versions of MacPorts.
>
>To see everywhere in your ports where the "cd" command is currently
>being used, you can use a command like this in the Terminal
>(replacing "EMAIL" with your maintainer email address (to which this
>email was sent)):
>
>port file maintainer:EMAIL \
>| xargs grep "[[:space:]]cd[[:space:]]" \
>| grep -v "system[[:space:]]"
I just realized that a number of my ports use "cd ${somedir}" in the
ui_msgs to instruct users. I hope none of my ports use the "cd" Tcl
primitive, but I'm still having trouble getting this command right to know
for sure.
Mark
More information about the macports-dev
mailing list