diff --git a/src/RecipeInstaller.php b/src/RecipeInstaller.php index 148b609..df909e1 100644 --- a/src/RecipeInstaller.php +++ b/src/RecipeInstaller.php @@ -59,7 +59,7 @@ class RecipeInstaller extends LibraryInstaller { } $this->io->write("Installing recipe $recipe file $relativePath"); $this->filesystem->ensureDirectoryExists(dirname($destination)); - file_put_contents($destination, file_get_contents($path)); + copy($path, $destination); } }