[MacPorts] FAQ modified

MacPorts noreply at macports.org
Thu Sep 7 16:50:58 UTC 2017


Page "FAQ" was changed by raimue
Diff URL: <https://trac.macports.org/wiki/FAQ?action=diff&version=151>
Revision 151
Comment: Remove old FAQ about the 'cd' command in Portfiles. Nobody asks for that anymore.
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: FAQ
=========================================================================
--- FAQ (version: 150)
+++ FAQ (version: 151)
@@ -297,12 +297,6 @@
 
 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? === #cd
-
-The `cd` command was removed from trunk in r28796. As of release 1.7.0 it is no longer 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 -W ${worksrcpath} "autoreconf"`.
-
 === What is the process for becoming a committer? === #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.
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/FAQ>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'FAQ' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list