From 2f33a5fd8b84161d13de15a675717b17fbde8110 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 1 Apr 2021 13:55:40 +0200 Subject: [PATCH] release can be directories, too --- release_tmp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release_tmp b/release_tmp index 16e0089..97cf024 100755 --- a/release_tmp +++ b/release_tmp @@ -17,7 +17,7 @@ fi bfile="$(basename "$file")" -scp "$file" "${host}:${dir}" +scp -r "$file" "${host}:${dir}" ssh "$host" "chmod a+r \"$dir/$bfile\"" if [ "$delete_after" ]; then