Skip to content

Commit

Permalink
Merge pull request #159 from SethTisue/native-packager-tar-regression
Browse files Browse the repository at this point in the history
work around regression in sbt-native-packager 1.0.5
  • Loading branch information
SethTisue committed Jan 21, 2016
2 parents d40dd6f + f46d6ca commit e0dc154
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion project/ScalaDist.scala
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@ object ScalaDist {

// create lib directory by resolving scala-dist's dependencies
// to populate the rest of the distribution, explode scala-dist artifact itself
mappings in Universal ++= createMappingsWith(update.value.toSeq, universalMappings)
mappings in Universal ++= createMappingsWith(update.value.toSeq, universalMappings),

// work around regression in sbt-native-packager 1.0.5 where
// these tasks invoke `tar` without any flags at all
universalArchiveOptions in (UniversalDocs, packageZipTarball) := Seq("--force-local", "-pcvf"),
universalArchiveOptions in (UniversalDocs, packageXzTarball ) := Seq("--force-local", "-pcvf")

)

// private lazy val onWindows = System.getProperty("os.name").toLowerCase(Locale.ENGLISH).contains("windows")
Expand Down

0 comments on commit e0dc154

Please sign in to comment.