Fix build-book output directory

This commit is contained in:
Nathan McCarty 2025-01-29 03:35:21 -05:00
parent f8d6e3cfcb
commit f675677a76

View file

@ -74,7 +74,7 @@ rm_rf "book";
cp $tempdir.add("book"), "book", :r; cp $tempdir.add("book"), "book", :r;
if $upload { if $upload {
my $rsync = run 'rsync', '-avzh', $tempdir.add("book").Str, my $rsync = run 'rsync', '-avzh', $tempdir.add("book/").Str,
'ubuntu@static.stranger.systems:/var/www/static.stranger.systems/idris-by-contrived-example'; 'ubuntu@static.stranger.systems:/var/www/static.stranger.systems/idris-by-contrived-example';
die "rsync went bad" unless $rsync; die "rsync went bad" unless $rsync;
} }