[ 
https://issues.apache.org/jira/browse/CB-5947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Koudritsky resolved CB-5947.
---------------------------------

    Resolution: Fixed

> cordova create fails when link/source arg = $CWD
> ------------------------------------------------
>
>                 Key: CB-5947
>                 URL: https://issues.apache.org/jira/browse/CB-5947
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.3.0, 3.4.0
>            Reporter: Ian Clelland
>            Assignee: Mark Koudritsky
>
> If {{cordova create}} is passed a {{--src}} or {{--link}} option whose 
> argument is the current directory (or any parent of it, I suspect), then it 
> will try to copy or link the current directory to {{newapp/www}}
> In the link case, this just creates a symlink cycle; in the copy case, it 
> actually tries to recursively copy the directory inside itself. On OSX it 
> eventually terminates with ENAMETOOLONG.
> In both cases, the project is broken and could never be used to build 
> anything.
> We should detect this case and abort with an error condition.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to