Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undo change adding --force-local option to invocation of tar #663

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ object Archives {

val tmptar = f / (relname + ".tar")

Process(Seq("tar", "--force-local", "-pcvf", tmptar.getAbsolutePath) ++ distdirs, Some(rdir)).! match {
Process(Seq("tar", "-pcvf", tmptar.getAbsolutePath) ++ distdirs, Some(rdir)).! match {
case 0 => ()
case n => sys.error("Error tarballing " + tarball + ". Exit code: " + n)
}
Expand Down
5 changes: 5 additions & 0 deletions src/sphinx/formats/universal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,11 @@ Tasks
``universal-docs:package-xz-tarball``
Creates the ``txz`` universal documentation package. The ``xz`` command can get better compression
for some types of archives.

**Note: Some versions of ``tar`` interpret archive file-names that contain a colon as being the name of a remote tape drive.
Since the name of the archive file is derived from the name of your ``sbt`` project, if the ``tar`` on your system supports the
``--force-local`` option and you wish to create a tar-format output package then you should refrain from including colons in the
name of your project.**

Customize
---------
Expand Down