Commits

Eric Larson  committed f409ea6

Fixed up some paths. Will rely on the base PATH and system bin dirs in order to make things less complicated

  • Participants
  • Parent commits 7d8ec92

Comments (0)

Files changed (1)

File xenv/models.py

         self.root = path(root or '.')
 
     def create_base_env(self):
-        mk_bin = ['ln', '-s', '/usr/bin',
-                  self.root / 'bin']
-        call(mk_bin)
-
+        (self.root / 'bin').mkdir()
         (self.root / 'local').mkdir()
-        call(['ln', '-s', '/usr/local/bin',
-              self.root.abspath() / 'local' / 'bin'])
     
     def create_venv(self):
         venv = self.root.abspath() / 'usr'
         '''Return the path hiearchy'''
         return ':'.join([
                 (self.root / 'usr' / 'bin').abspath(),
-                (self.root / 'usr' / 'local' / 'bin').abspath(),
+                (self.root / 'local' / 'bin').abspath(),
                 (self.root / 'bin').abspath(),
                 ])