Skip to content

Commit

Permalink
Forced use of rsync v3.1.0 when building to improve support.
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxbud committed Jan 22, 2021
1 parent 45ba359 commit 4f95f13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ _ORIGEXEC="HyperLightDrifter"
_MODEXEC="${_ORIGEXEC}Patched"
_EXECDIFF="${_ORIGEXEC}Diff"

_RSYNC="rsync-3.1.0"



# Prepare build dir.
Expand All @@ -65,7 +67,7 @@ sha256sum --tag "$_MODEXEC" >"$_BUILDDIR/$_MODEXEC.checksum.txt"
popd >/dev/null

# Create diff file.
rsync --only-write-batch="$_BUILDDIR/$_EXECDIFF" "$_BUILDDIR/$_MODEXEC" "$_GAMEDIR/$_ORIGEXEC"
"$_RSYNC" --only-write-batch="$_BUILDDIR/$_EXECDIFF" "$_BUILDDIR/$_MODEXEC" "$_GAMEDIR/$_ORIGEXEC"

# Stage build.
mkdir -p "$_STAGEDIR"
Expand Down

0 comments on commit 4f95f13

Please sign in to comment.