From f675677a7647859c57c12e267a29552eda2dbd45 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Wed, 29 Jan 2025 03:35:21 -0500 Subject: [PATCH] Fix build-book output directory --- scripts/build-book | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/build-book b/scripts/build-book index 62af9b9..fd108e3 100755 --- a/scripts/build-book +++ b/scripts/build-book @@ -74,9 +74,9 @@ rm_rf "book"; cp $tempdir.add("book"), "book", :r; if $upload { - my $rsync = run 'rsync', '-avzh', $tempdir.add("book").Str, - 'ubuntu@static.stranger.systems:/var/www/static.stranger.systems/idris-by-contrived-example'; - die "rsync went bad" unless $rsync; + my $rsync = run 'rsync', '-avzh', $tempdir.add("book/").Str, + 'ubuntu@static.stranger.systems:/var/www/static.stranger.systems/idris-by-contrived-example'; + die "rsync went bad" unless $rsync; } # This function goes at the end because it breaks emacs fontification after it