From fc4790b33c98ca14469e88c00544701a85365d3a Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 8 Jul 2020 13:22:05 +0000 Subject: 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 --- archinstall/__main__.py | 2 +- archinstall/profiles | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 120000 archinstall/profiles (limited to 'archinstall') 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')} diff --git a/archinstall/profiles b/archinstall/profiles new file mode 120000 index 00000000..c2968eea --- /dev/null +++ b/archinstall/profiles @@ -0,0 +1 @@ +../profiles/ \ No newline at end of file -- cgit v1.2.3-70-g09d2