[MacPorts] Notification: FAQ modified

MacPorts noreply at macports.org
Mon Jul 28 18:06:55 PDT 2008

Changed page "FAQ" by raimue at macports.org from*
Page URL: <http://trac.macports.org/wiki/FAQ>
Diff URL: <http://trac.macports.org/wiki/FAQ?action=diff&version=42>
Revision 42

Index: FAQ
--- FAQ (version: 41)
+++ FAQ (version: 42)
@@ -187,6 +187,12 @@
 Your local repository needs the ports to be nested within a category for portindex to work, as explained in the relevant [http://guide.macports.org/#development.local-repositories documentation].
+=== Why was the `cd` command removed from trunk? ===
+The `cd` command was removed from trunk in r28796. As of release 1.7.0 it will no longer be available for use in Portfiles. `cd` is harmful as it changes the current directory of the whole process and not only of the current Tcl interpreter. Also, it becomes unreliable when used inside phases and other phases begin to rely on it.
+Please use absolute paths instead, starting with ${worksrcpath}. If you need to run a command with `system`, use it like `system "cd ${worksrcpath} && autoreconf"`.
 === What is the process for becoming a committer? ===
 The process is pretty much the same as for any other open source project. See the relevant [http://guide.macports.org/#project.membership documentation] and the [wiki:NewCommittersGuide New commiters guide] for what commit access to MacPorts entails.


* The IP shown here might not mean anything if the user is behind a proxy.

MacPorts <http://www.macports.org/>
Ports system for Mac OS

This is an automated message. Someone at http://www.macports.org/
added your email address to be notified of changes on MacPorts.
If it was not you, please report to http://www.macports.org/.

More information about the macports-changes mailing list