Satish Balay committed 9992b25

config: fix ArgDir() to support relative path. Now --with-saws-dir=../saws/build works

  • Participants
  • Parent commits f76cdb0

Comments (0)

Files changed (1)

File config/BuildSystem/

     if not isinstance(value, str):
       raise TypeError('Invalid directory: '+str(value)+' for key '+str(self.key))
     value = os.path.expanduser(value)
+    value = os.path.abspath(value)
     if self.mustExist and value and not os.path.isdir(value):
       raise ValueError('Nonexistent directory: '+str(value)+' for key '+str(self.key))
     self.value = value