diff --git a/src/oebuild/app/main.py b/src/oebuild/app/main.py index 1bd9f8231604e0fce0c664d8cc71cf47818e0206..c950a040df353c7c3dbd2bcbcabd468bf3911252 100644 --- a/src/oebuild/app/main.py +++ b/src/oebuild/app/main.py @@ -258,7 +258,8 @@ class QuickBuild(): f"{self.workdir}/src:{oebuild_const.CONTAINER_SRC}" ) if not compile_volumn_flag: - volumn_dir = os.path.join(oebuild_const.CONTAINER_BUILD, self.build_dir) + volumn_dir = os.path.join(oebuild_const.CONTAINER_BUILD, + os.path.basename(self.build_dir)) self.compile_param.docker_param.volumns.append( f"{os.path.abspath(self.build_dir)}:{volumn_dir}" )