Skip to content
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

Directory elimination #42

Open
cristianpark opened this issue Sep 30, 2012 · 3 comments
Open

Directory elimination #42

cristianpark opened this issue Sep 30, 2012 · 3 comments

Comments

@cristianpark
Copy link

Hi, I just found the project some days ago and I love it since I hadn't any other reliable way for connecting my Samsung Galaxy S3 to my linux box. However I found that when you try to remove a directory, it just stay there (I tried with . prefixed directories) and I see in console: EXECUTE= adb shell rm /mnt/sdcard/.skynet, I think you missed the -r option there, so I go and search for execution instruction on files and found this (on src/Aafm.py):
self.execute('%s shell rm %s' % (self.adb, self.device_escape_path(path)))
and I replaced with:
self.execute('%s shell rm -r %s' % (self.adb, self.device_escape_path(path)))
and it works just fine but I can't find a way to commit the change to github (other than clone the repo) so I create this ticket for you to update your code

Thanks for your time and effort with this application

@sole
Copy link
Owner

sole commented Sep 30, 2012

Thank you! Glad the project is helping you :-)

So the directories you wanted to delete weren't empty then?

If you want to contribute code, yes, that's the way it should work: fork the code, make the changes, push them to your fork and submit a pull request.

@cristianpark
Copy link
Author

Hi sole, indeed the directories aren't empty. I'm new to github but I'll give it a try for submit my changes.

Thanks

@sole
Copy link
Owner

sole commented Sep 30, 2012

Thanks for the information!

It's OK you being new to github, just experiment and learn, there's no rush :-)
That way your contribution gets recognised in the project. It's just nice! And you can use that knowledge to contribute to more projects in the future!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants