From cd6d47472752cb2df67a246ac1f06acdc38efb4a Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 26 Dec 2020 12:00:07 +0200 Subject: [PATCH] build script: fix prefix directory creation --- build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.py b/build.py index a60d9710..32edf753 100755 --- a/build.py +++ b/build.py @@ -1817,7 +1817,8 @@ class Builder(object): cleanup = True for dep in os.scandir(self.deps_path): - Builder.symlink_directory(dep.path, self.prefix_path, cleanup) + if dep.is_dir(): + Builder.symlink_directory(dep.path, self.prefix_path, cleanup) # Do symlink cleanup only once cleanup = False