aboutsummaryrefslogtreecommitdiff
path: root/docker/base
diff options
context:
space:
mode:
Diffstat (limited to 'docker/base')
-rw-r--r--docker/base/set_configs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/base/set_configs.py b/docker/base/set_configs.py
index d426b3569..d2f1a5643 100644
--- a/docker/base/set_configs.py
+++ b/docker/base/set_configs.py
@@ -158,7 +158,7 @@ def copy_files(data):
LOG.info("Copying %s to %s",
os.path.join(source_path, src), dest_path)
- if os.path.isdir(src):
+ if os.path.isdir(os.path.join(source_path, src)):
shutil.copytree(os.path.join(source_path, src), dest_path)
else:
shutil.copy(os.path.join(source_path, src), dest_path)