summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/lib/compatlayer/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/compatlayer/__init__.py b/scripts/lib/compatlayer/__init__.py
index 58f94b778b..087ac14148 100644
--- a/scripts/lib/compatlayer/__init__.py
+++ b/scripts/lib/compatlayer/__init__.py
@@ -112,6 +112,7 @@ def detect_layers(layer_directories, no_auto):
112 layers = [] 112 layers = []
113 113
114 for directory in layer_directories: 114 for directory in layer_directories:
115 directory = os.path.realpath(directory)
115 if directory[-1] == '/': 116 if directory[-1] == '/':
116 directory = directory[0:-1] 117 directory = directory[0:-1]
117 118