From b6c6e414b1a46fed7f118e7c441cb29ba26b5dc8 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 6 Dec 2020 12:00:56 +0100 Subject: Fixed issue where absolute paths to profiles got squashed --- archinstall/lib/profiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall') diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py index 9ca410f8..cf5bca91 100644 --- a/archinstall/lib/profiles.py +++ b/archinstall/lib/profiles.py @@ -114,7 +114,7 @@ class Script(): # Path was not found in any known examples, check if it's an abolute path if os.path.isfile(self.profile): - return os.path.basename(self.profile) + return self.profile raise ProfileNotFound(f"File {self.profile} does not exist in {examples}") elif parsed_url.scheme in ('https', 'http'): -- cgit v1.2.3-70-g09d2