Issue Type: Bug Bug
Affects Versions: current
Assignee: Unassigned
Components: rbenv
Created: 28/Jul/14 2:52 PM
Description:

In some situations the following command is executed to remove .rbenv.lock

bash -c "rmdir \$HOME/.rbenv.lock"

This command fails if .rbenv.lock does not exist.

I believe a more robust solution would be to use

bash -c "rm -rf \$HOME/.rbenv.lock" which will remove the directory if it exists and carry on if it does not.

Environment: Ubuntu 14.04
Project: Jenkins
Labels: plugin
Priority: Minor Minor
Reporter: Joseph Hughes
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

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to