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