From 19afea3cf64dca415cdcb1053dfbf468852b34af Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 2 Jun 2019 14:20:20 -0300 Subject: Format utils.nix --- utils.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils.nix b/utils.nix index f02db70..942b202 100644 --- a/utils.nix +++ b/utils.nix @@ -89,7 +89,9 @@ in rec { pkgs.writeShellScriptBin "publish.sh" '' set -euo pipefail OUT_DOCS="${docsDerivation}" - ${if overwrite then "# " else ""}${pkgs.openssh}/bin/ssh -o StrictHostKeyChecking=no "$SERVER_URL" rm -rf "$DOCS_SERVER_PATH/*" + ${ + if overwrite then "# " else "" + }${pkgs.openssh}/bin/ssh -o StrictHostKeyChecking=no "$SERVER_URL" rm -rf "$DOCS_SERVER_PATH/*" ${pkgs.rsync}/bin/rsync -avzP \ --rsh="ssh -o StrictHostKeyChecking=no" \ "$OUT_DOCS/" \ -- cgit v1.2.3