Skip to content

Commit

Permalink
Fix autotools plugin when hardlink already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
stickz authored Jul 11, 2024
1 parent 9bf6e15 commit 6ecbf02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/autotools/util_rt.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ function rtOpFiles( $files, $src, $dst, $op, $dbg = false )
{
case "HardLink":
{
if( link( $source, $dest ) )
break;
link( $source, $dest );
break;
}
case "Copy":
{
Expand Down Expand Up @@ -355,4 +355,4 @@ function rtExec( $cmds, $hash, $dbg )
return null;
}
else return $req;
}
}

0 comments on commit 6ecbf02

Please sign in to comment.