[
https://issues.apache.org/jira/browse/CB-4002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13698347#comment-13698347
]
ASF subversion and git services commented on CB-4002:
-----------------------------------------------------
Commit cbbc7b6a708a7bb692b14cd4c78a1d3ae76b0839 in branch refs/heads/master2
from Fil Maj
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=cbbc7b6 ]
[CB-4002] Dont fire hooks or recurse into directories that begin with a dot.
> Hook processing should ignore dotfiles
> --------------------------------------
>
> Key: CB-4002
> URL: https://issues.apache.org/jira/browse/CB-4002
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 2.9.0
> Environment: cordova cli 2.9.0rc1
> Reporter: Dan Moore
> Assignee: Filip Maj
> Priority: Trivial
>
> If you have any dotfiles (.scriptname.swp) in your .cordova/hooks/after_*
> directory, a build will fail with this message:
> ---------
> /bin/sh: /path/.cordova/hooks/after_prepare/.replace_config_values.js.swp:
> Text file busy
> Error: Script
> "/path/.cordova/hooks/after_prepare/.replace_config_values.js.swp" exited
> with non-zero status code. Aborting. Output: /bin/sh:
> /path/.cordova/hooks/after_prepare/.replace_config_values.js.swp: Text file
> busy
> at /usr/local/lib/node_modules/cordova/src/hooker.js:85:30
> at
> /usr/local/lib/node_modules/cordova/node_modules/shelljs/shell.js:1707:7
> at ChildProcess.exithandler (child_process.js:641:7)
> at ChildProcess.EventEmitter.emit (events.js:98:17)
> at maybeClose (child_process.js:735:16)
> at Process.ChildProcess._handle.onexit (child_process.js:802:5)
> ---------
> These dotfiles are there because I'm editing the script, and want to be able
> to re-edit it quickly. Sure would be nice if any files starting with dot
> were ignored.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira