release can be directories, too
This commit is contained in:
parent
31d2387412
commit
2f33a5fd8b
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ fi
|
||||||
|
|
||||||
bfile="$(basename "$file")"
|
bfile="$(basename "$file")"
|
||||||
|
|
||||||
scp "$file" "${host}:${dir}"
|
scp -r "$file" "${host}:${dir}"
|
||||||
ssh "$host" "chmod a+r \"$dir/$bfile\""
|
ssh "$host" "chmod a+r \"$dir/$bfile\""
|
||||||
|
|
||||||
if [ "$delete_after" ]; then
|
if [ "$delete_after" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue