office-gobmx/external/onlineupdate/cygpath.patch
Stephan Bergmann c469bffa3b Further adapting of create-partial-info
...along the lines of what had already been done for create-update-info, passing
files to the mar executable with an -f files.txt instead of on the command line
(which could grow too long for Windows), and taking the archive metadata into
account.

For the latter, `make create-partial-info` now expects a second make variable,
ONLINEUPDATE_MAR_OLDMETADATA, in addition to ONLINEUPDATE_MAR_OLDARCHIVE.  And
there is a new TODO in update/create_partial_update.py that the old and new
metadata should be compared for problematic changes.  (For now, any such changes
would just get lost by an update.)

Change-Id: Ide45adedb72958fc32c5b26aa7ebb01530ccf3d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161972
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-01-12 15:46:11 +01:00

11 lines
329 B
Diff

--- tools/update-packaging/make_incremental_update.sh
+++ tools/update-packaging/make_incremental_update.sh
@@ -110,7 +110,7 @@
# Remove the /
newdir=$(echo "$newdir" | sed -e 's:\/$::')
fi
-workdir="$(mktemp -d)"
+workdir=$(cygpath -m "$(mktemp -d)")
updatemanifestv3="$workdir/updatev3.manifest"
mkdir -p "$workdir"