From 48ea451c2fc0776eec2ea380709c76cff98fe453 Mon Sep 17 00:00:00 2001 From: dymik739 Date: Sat, 20 May 2023 19:15:26 +0300 Subject: [PATCH] lab4: add script for updating documentation on the server --- labs/4/Group.java | 2 +- labs/4/update-http-docs.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 labs/4/update-http-docs.sh diff --git a/labs/4/Group.java b/labs/4/Group.java index 62c29c1..d0a492c 100644 --- a/labs/4/Group.java +++ b/labs/4/Group.java @@ -81,7 +81,7 @@ public class Group { /** * Compares numbers of type Double * - * @param i1 first number + * @param i1 first number to compare * @param i2 second number to compare * @return if the first argument is greater, 1 is returned * if the second argument is greater, -1 is returned diff --git a/labs/4/update-http-docs.sh b/labs/4/update-http-docs.sh new file mode 100755 index 0000000..e66d03a --- /dev/null +++ b/labs/4/update-http-docs.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +rsync -avuP --delete doc/ linode:/root/oop-server/labs/4/doc/