src/Pure/General/rsync.scala
changeset 77369 df17355f1e2c
parent 76617 d5adc9126ae8
child 77517 ede77a627b3a
equal deleted inserted replaced
77368:7c57d9586f4c 77369:df17355f1e2c
    40         (if (prune_empty_dirs) " --prune-empty-dirs" else "") +
    40         (if (prune_empty_dirs) " --prune-empty-dirs" else "") +
    41         (if (dry_run) " --dry-run" else "") +
    41         (if (dry_run) " --dry-run" else "") +
    42         (if (clean) " --delete-excluded" else "") +
    42         (if (clean) " --delete-excluded" else "") +
    43         (if (list) " --list-only --no-human-readable" else "") +
    43         (if (list) " --list-only --no-human-readable" else "") +
    44         filter.map(s => " --filter=" + Bash.string(s)).mkString +
    44         filter.map(s => " --filter=" + Bash.string(s)).mkString +
    45         (if (args.nonEmpty) " " + Bash.strings(args) else "")
    45         if_proper(args, " " + Bash.strings(args))
    46     context.progress.bash(script, echo = true)
    46     context.progress.bash(script, echo = true)
    47   }
    47   }
    48 
    48 
    49   def init(context: Context, target: String,
    49   def init(context: Context, target: String,
    50     contents: List[File.Content] = Nil
    50     contents: List[File.Content] = Nil