diff options
author | EuAndreh <eu@euandre.org> | 2019-06-02 16:05:20 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-06-02 16:05:20 -0300 |
commit | 44da6721c5d5644103ee65c3c345c0c0379ebb85 (patch) | |
tree | ef3d1c6b70b35fb1089d3a7547bd0c702f4845ca | |
parent | Format utils.nix (diff) | |
download | euandre.org-44da6721c5d5644103ee65c3c345c0c0379ebb85.tar.gz euandre.org-44da6721c5d5644103ee65c3c345c0c0379ebb85.tar.xz |
Update utils.nix
Fix boolean logic bug on overwriting docs.
-rw-r--r-- | utils.nix | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -90,7 +90,7 @@ in rec { set -euo pipefail OUT_DOCS="${docsDerivation}" ${ - if overwrite then "# " else "" + 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" \ |