Skip to content

Commit

Permalink
Self-review
Browse files Browse the repository at this point in the history
  • Loading branch information
mosteo committed Sep 30, 2024
1 parent e022396 commit 358e5a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/alire/alire-builds.adb
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,7 @@ package body Alire.Builds is
with Unreferenced;
begin
Den.Filesystem.Create_Directory (Dst);
Den.Filesystem.Copy (Src, Dst,
Options =>
(Preserve_Permissions => True,
others => <>));
Den.Filesystem.Copy (Src, Dst);
exception
when E : others =>
Log_Exception (E);
Expand Down
2 changes: 1 addition & 1 deletion src/alire/alire-directories.adb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ package body Alire.Directories is
Dst_Parent_Folder / Simple_Item;
begin
if not Den.Exists (Subfolder) then
Ada.Directories.Create_Directory (Subfolder);
Den.Filesystem.Create_Directory (Subfolder);
end if;
Copy (Full_Item, Subfolder, Excluding);
end;
Expand Down

0 comments on commit 358e5a2

Please sign in to comment.