Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/__main__.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-07-08 13:22:05 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-07-08 13:22:05 +0000
commitfc4790b33c98ca14469e88c00544701a85365d3a (patch)
tree7111ee681dbaa6e0ddee73dfc941bc1855dfa241 /archinstall/__main__.py
parent4f18ac473abef763d6ea2846348da21693d878bd (diff)
Added symlinks instead of copying when building. Also mofied the __file__ path in __main__.py as it was pointing a bit off for some reason
Diffstat (limited to 'archinstall/__main__.py')
-rw-r--r--archinstall/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/__main__.py b/archinstall/__main__.py
index 4c619a66..04004674 100644
--- a/archinstall/__main__.py
+++ b/archinstall/__main__.py
@@ -8,7 +8,7 @@ class ProfileNotFound(BaseException):
# (I summon thee dark spawn of cPython)
def find_examples():
- cwd = os.path.abspath(f'{os.path.dirname(__file__)}/../')
+ cwd = os.path.abspath(f'{os.path.dirname(__file__)}')
examples = f"{cwd}/examples"
return {os.path.basename(path): path for path in glob.glob(f'{examples}/*.py')}