mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 23:21:17 +02:00
Rather than using split, we can just use os.path.basename(path) to get the username from the homedir name. This is a bit simpler. I've also added a comment which I missed in my last commit. TEST=Ran ./parallel_emerge, verified the new method of getting PORTAGE_USERNAME gets the right username. BUG=none Review URL: http://codereview.chromium.org/3056002
Description
Languages
Shell
93.1%
Python
6.9%