From 11dd251be1557cfb51268e908ba063023821af33 Mon Sep 17 00:00:00 2001 From: Leon Boot Date: Tue, 3 Aug 2021 10:09:36 +0200 Subject: [PATCH] Fixed executable determination Executable bit is always false due to missing directory separator between recipe path and relative filename --- src/Service/Compiler/PackagesCompiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Service/Compiler/PackagesCompiler.php b/src/Service/Compiler/PackagesCompiler.php index 314fafa..558b397 100644 --- a/src/Service/Compiler/PackagesCompiler.php +++ b/src/Service/Compiler/PackagesCompiler.php @@ -125,7 +125,7 @@ private function getRecipeFiles(Recipe $recipe) } $files[$file->getRelativePathName()] = [ 'contents' => $file->getContents(), - 'executable' => is_executable($recipe->getLocalPath().$file->getRelativePathName()), + 'executable' => is_executable($file->getPathname()), ]; }