Changes between Version 125 and Version 126 of FAQ


Ignore:
Timestamp:
Feb 18, 2013, 10:31:24 AM (11 years ago)
Author:
larryv (Lawrence Velázquez)
Comment:

use the -W flag to change dirs with system

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v125 v126  
    261261The `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.
    262262
    263 Please use absolute paths instead, starting with ${worksrcpath}. If you need to run a command with `system`, use it like `system "cd ${worksrcpath} && autoreconf"`.
     263Please use absolute paths instead, starting with ${worksrcpath}. If you need to run a command with `system`, use it like `system -W ${worksrcpath} "autoreconf"`.
    264264
    265265=== What is the process for becoming a committer? === #committer