Commit 4459d78c authored by Adeodato Simo's avatar Adeodato Simo
Browse files

Fix broken hscolour.css symlink in tarball

The file apidoc/Ganeti/HTools/hscolour.css was a broken symlink in the
tarball. This was happening because `tar --transform` was being allowed to
act in symlink targets.

Pass the flag "S" to tar --transform, to keep symlink targets intact (and
hence valid).
Signed-off-by: default avatarAdeodato Simo <>
Reviewed-by: default avatarIustin Pop <>
parent a7c07935
......@@ -84,7 +84,7 @@ dist: regen-version Ganeti/HTools/Version.hs doc
rm -f $$ANAME $$ANAME.gz ; \
git archive --format=tar --prefix=$$PFX/ HEAD > $$ANAME ; \
tar -r -f $$ANAME --owner root --group root \
--transform="s,^,$$PFX/," version apidoc $(DOCS) $(MANS); \
--transform="s,^,$$PFX/,S" version apidoc $(DOCS) $(MANS); \
gzip -v9 $$ANAME ; \
TMPDIR=$$(mktemp -d) ; \
tar xzf $$ANAME.gz -C $$TMPDIR; \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment