diff --git a/bin/ebuild b/bin/ebuild index 3eaea94..61c5fd9 100755 --- a/bin/ebuild +++ b/bin/ebuild @@ -112,7 +112,8 @@ if pf is None: sys.exit(1) if not os.path.isabs(ebuild): - mycwd = os.getcwd() + import os as os_real + mycwd = os_real.getcwd() # Try to get the non-canonical path from the PWD evironment variable, since # the canonical path returned from os.getcwd() may may be unusable in # cases where the directory stucture is built from symlinks.