Skip to content

Commit

Permalink
Allow publishing from a folder with spaces
Browse files Browse the repository at this point in the history
Though it still doesn't work for the docs due to
lightbend/paradox#387
  • Loading branch information
raboof committed Nov 20, 2019
1 parent fbcd94f commit 8cc5da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/Publish.scala
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ object DeployRsync extends AutoPlugin {
deployRsync := {
val (_, host) = (Space ~ StringBasic).parsed
deployRsyncArtifact.value.foreach {
case (from, to) => s"rsync -rvz $from/ $host:$to"!
case (from, to) => Seq("rsync", "-rvz", s"$from/", s"$host:$to")!
}
}
)
Expand Down

0 comments on commit 8cc5da4

Please sign in to comment.