-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kerl deleted files home directory #8
Comments
I'm sorry about this, can you develop on what happened? |
I'll survive.. Unfortunately I don't have the kerl files anymore.. ~$ kerl delete installation . Problem revolves IMO around ff lines 595 in kerl script. Other than my problem I like the idea of having a tool organize erlang Cheers On 11-05-31 11:14 PM, evax wrote:
|
Ok, I think I understand what happened. |
Frankly, I don't think that is enough. When installing ensure the install directory is empty and named by, e.g. build, and that you only remove the named directory when you delete. DO NOT delete on a given argument as in: rm -rf $3 Do not trust any input! Use absolute paths. Implement a user interaction that asks before delete. Etc. A "BTW: if you mess up the command, kerl might delete your home directory" in the documentation is not helpful. |
I keep my fingers away from kerl since it deleted a bunch of files in my home directory. There is a very dangerous delete option in the code which should be revised.
The text was updated successfully, but these errors were encountered: