From 2217e9764235fd98b9b0ac33795f67e356de76b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophane=20Hufschmitt?= Date: Thu, 20 Sep 2018 00:21:20 +0200 Subject: [PATCH] fixup! Add addhock support --- haskell/haddock.bzl | 2 +- haskell/import.bzl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/haskell/haddock.bzl b/haskell/haddock.bzl index c0a61ae48e..f717cf031f 100644 --- a/haskell/haddock.bzl +++ b/haskell/haddock.bzl @@ -193,7 +193,7 @@ def _haskell_doc_rule_impl(ctx): command = """ mkdir -p "{doc_dir}" # Copy Haddocks of a dependency. - cp -r -L "{html_dir}" "{target_dir}" + cp -R -L "{html_dir}" "{target_dir}" """.format( doc_dir = doc_root_path, html_dir = html_dir.path, diff --git a/haskell/import.bzl b/haskell/import.bzl index 1535c96283..7f39dee256 100644 --- a/haskell/import.bzl +++ b/haskell/import.bzl @@ -39,7 +39,7 @@ def copy_all(ctx, srcs, dest): inputs = depset(srcs), outputs = [dest], mnemonic = "Copy", - command = "mkdir -p {dest} && cp -L -r \"$@\" {dest}".format(dest = dest.path), + command = "mkdir -p {dest} && cp -L -R \"$@\" {dest}".format(dest = dest.path), arguments = [args], )