Use the current directory you are running.
authorTim 'mithro' Ansell <me@mith.ro>
Sun, 23 Feb 2020 22:58:45 +0000 (14:58 -0800)
committerTim 'mithro' Ansell <me@mith.ro>
Sun, 12 Apr 2020 01:37:06 +0000 (18:37 -0700)
litex_setup.py

index ff2777bfa39fb4ffeb4d22acae64adf2ab852126..c6389ad668a01e1ac1dd879193deba0a5ec8d3e9 100755 (executable)
@@ -8,7 +8,8 @@ from collections import OrderedDict
 
 import urllib.request
 
-current_path = os.path.dirname(os.path.realpath(__file__))
+current_path = os.path.abspath(os.curdir)
+
 
 # Repositories -------------------------------------------------------------------------------------