Skip to content

Commit

Permalink
coremanager.py: Allow ~ in cores_root in fusesoc.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
olofk committed Apr 11, 2014
1 parent 1520c76 commit e00fbac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fusesoc/coremanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ def add_cores_root(self, path):
abspath = os.path.abspath(p)
if not abspath in self._cores_root:
self._cores_root += [abspath]
self.load_cores(p)
self.load_cores(os.path.expanduser(p))
else:
abspath = os.path.abspath(path)
if not abspath in self._cores_root:
self._cores_root += [abspath]
self.load_cores(path)
self.load_cores(os.path.expanduser(path))

def get_cores_root(self):
return self._cores_root
Expand Down

0 comments on commit e00fbac

Please sign in to comment.