Changes between Version 150 and Version 151 of FAQ


Ignore:
Timestamp:
Sep 7, 2017, 4:50:58 PM (7 years ago)
Author:
raimue (Rainer Müller)
Comment:

Remove old FAQ about the 'cd' command in Portfiles. Nobody asks for that anymore.

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v150 v151  
    298298Your 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].
    299299
    300 === Why was the `cd` command removed? === #cd
    301 
    302 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.
    303 
    304 Please use absolute paths instead, starting with ${worksrcpath}. If you need to run a command with `system`, use it like `system -W ${worksrcpath} "autoreconf"`.
    305 
    306300=== What is the process for becoming a committer? === #committer
    307301