1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Apparently sending the tar output to stdout rather than a file causes tar to

pad with trailing NULs, which slightly upsets old versions of gzip (1.2.4,
not 1.3.x), which upsets some of our correspondents.
Use -f to send it to a file instead. (It's not transparently clear what
happens when you mix -f and -C; I've tested this with ixion's tar, 1.13.25.)

Also add option -o to generate POSIX tar files, as for halibut/Makefile;
apparently this shuts up a `trailing garbage' error from WinZip.

[originally from svn r4429]
This commit is contained in:
Jacob Nevins 2004-08-09 17:01:25 +00:00
parent c7648cd296
commit aaeca0f4a0

View File

@ -43,5 +43,5 @@ if test "x$ver" != "x"; then
md5sum `find . -name '*.[ch]' -print` > manifest;
echo "$ver" > version.def)
fi
tar -C uxarc -chzf - $arcname > $arcname.tar.gz
tar -C uxarc -chzof $arcname.tar.gz $arcname
rm -rf uxarc